mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 11:06:57 +00:00
fix forget password toast error when personal ab doesn't contain this id (#7589)
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -750,8 +750,10 @@ abstract class BasePeerCard extends StatelessWidget {
|
||||
if (succ) {
|
||||
showToast(translate('Successful'));
|
||||
} else {
|
||||
BotToast.showText(
|
||||
contentColor: Colors.red, text: translate("Failed"));
|
||||
if (tab.index == PeerTabIndex.ab.index) {
|
||||
BotToast.showText(
|
||||
contentColor: Colors.red, text: translate("Failed"));
|
||||
}
|
||||
}
|
||||
},
|
||||
padding: menuPadding,
|
||||
|
||||
Reference in New Issue
Block a user