chore: Follow up nicer max width pages

This commit is contained in:
krille-chan 2024-07-26 17:57:30 +02:00
commit b20cee34d4
No known key found for this signature in database
2 changed files with 33 additions and 36 deletions

View file

@ -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;
}
}