DM groups

This commit is contained in:
2025-05-17 23:13:08 +08:00
parent 7ccaf737a9
commit 81d5083908
13 changed files with 276 additions and 122 deletions

View File

@ -73,7 +73,11 @@ class RealmListScreen extends HookConsumerWidget {
heroTag: Key("realms-page-fab"),
child: const Icon(Symbols.add),
onPressed: () {
context.router.push(NewRealmRoute());
context.router.push(NewRealmRoute()).then((value) {
if (value != null) {
ref.invalidate(realmsJoinedProvider);
}
});
},
),
body: RefreshIndicator(