fix(mining-app): 验证收款方失败时显示提示信息

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-29 08:19:39 -08:00
parent 40389fcfc7
commit 8fe38525a2
1 changed files with 9 additions and 0 deletions

View File

@ -538,6 +538,15 @@ class _SendSharesPageState extends ConsumerState<SendSharesPage> {
_isRecipientVerified = false;
_recipientNickname = null;
});
//
if (mounted) {
ScaffoldMessenger.of(context).showSnackBar(
const SnackBar(
content: Text('用户不存在或无法转账'),
backgroundColor: _red,
),
);
}
}
}