💄 Optimzation and fixes
This commit is contained in:
@ -165,8 +165,9 @@ class _RealmActionMenu extends HookConsumerWidget {
|
||||
final client = ref.watch(apiClientProvider);
|
||||
client.delete('/realms/$realmSlug');
|
||||
ref.invalidate(realmsJoinedProvider);
|
||||
if (context.mounted)
|
||||
if (context.mounted) {
|
||||
context.router.maybePop(true);
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
|
@ -40,6 +40,7 @@ class RealmListScreen extends HookConsumerWidget {
|
||||
final realmInvites = ref.watch(realmInvitesProvider);
|
||||
|
||||
return AppScaffold(
|
||||
noBackground: false,
|
||||
appBar: AppBar(
|
||||
title: const Text('realms').tr(),
|
||||
actions: [
|
||||
|
Reference in New Issue
Block a user