Delete account

This commit is contained in:
2024-11-28 23:51:13 +08:00
parent 36013a3a57
commit 041be961c4
5 changed files with 81 additions and 34 deletions

View File

@ -205,7 +205,9 @@ class _ChatRoomScreenState extends State<ChatRoomScreen> {
'scope': widget.scope,
'alias': widget.alias,
}).then((value) {
if (value != null) {
if (value == false && context.mounted) {
Navigator.pop(context, true);
} else if (value != null && context.mounted) {
_fetchChannel();
}
});