fix hot reload

This commit is contained in:
mertalev
2025-08-31 20:14:14 -04:00
parent b1f3051608
commit 9836392fbe
2 changed files with 24 additions and 2 deletions
+8
View File
@@ -224,6 +224,14 @@ class ImmichAppState extends ConsumerState<ImmichApp> with WidgetsBindingObserve
super.dispose();
}
@override
void reassemble() {
if (kDebugMode) {
NetworkRepository.reset();
}
super.reassemble();
}
@override
Widget build(BuildContext context) {
final router = ref.watch(appRouterProvider);