mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(mobile): reduce server version api calls (#4265)
This commit is contained in:
parent
fb7249d1f6
commit
d7e970dcea
2 changed files with 2 additions and 1 deletions
|
|
@ -64,10 +64,10 @@ class TabNavigationObserver extends AutoRouterObserver {
|
|||
}
|
||||
|
||||
Store.put(StoreKey.currentUser, User.fromDto(userResponseDto));
|
||||
ref.read(serverInfoProvider.notifier).getServerVersion();
|
||||
} catch (e) {
|
||||
debugPrint("Error refreshing user info $e");
|
||||
}
|
||||
}
|
||||
ref.watch(serverInfoProvider.notifier).getServerVersion();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue