feat(server): implement useragent_delete_grant hard delete cleanup #53

Closed
CleverWild wants to merge 30 commits from impl-useragent_delete_grant into main
Showing only changes of commit 976c11902c - Show all commits

View File

@@ -15,11 +15,11 @@ class ServerConnectionScreen extends HookConsumerWidget {
Widget build(BuildContext context, WidgetRef ref) {
final connectionState = ref.watch(connectionManagerProvider);
if (connectionState.value != null) {
WidgetsBinding.instance.addPostFrameCallback((_) {
ref.listen(connectionManagerProvider, (_, next) {
if (next.value != null && context.mounted) {
context.router.replace(const VaultSetupRoute());
});
}
}
});
final body = switch (connectionState) {
AsyncLoading() => const CircularProgressIndicator(),