chore: Follow up nicer max width pages
This commit is contained in:
parent
d71d633cce
commit
b20cee34d4
2 changed files with 33 additions and 36 deletions
|
|
@ -716,9 +716,10 @@ class ChatListController extends State<ChatList>
|
|||
isDestructiveAction: true,
|
||||
);
|
||||
if (confirmed == OkCancelResult.cancel) return;
|
||||
if (!mounted) {
|
||||
await showFutureLoadingDialog(context: context, future: room.leave);
|
||||
}
|
||||
if (!mounted) return;
|
||||
|
||||
await showFutureLoadingDialog(context: context, future: room.leave);
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue