fix hot reload

This commit is contained in:
mertalev
2025-08-31 20:14:14 -04:00
parent 482526475b
commit 942b27241a
2 changed files with 24 additions and 2 deletions
+8
View File
@@ -228,6 +228,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);