Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[auth] Reduce freq of update notification dialog

Neeraj Gupta34a04dd29a3d
diff --git a/auth/lib/app/view/app.dart b/auth/lib/app/view/app.dart
index b2abc6caa0..84eea3ba2a 100644
--- a/auth/lib/app/view/app.dart
+++ b/auth/lib/app/view/app.dart
@@ -72,7 +72,7 @@ class _AppState extends State<App>
}
});
locale = widget.locale;
- UpdateService.instance.shouldUpdate().then((shouldUpdate) {
+ UpdateService.instance.showUpdateNotification().then((shouldUpdate) {
if (shouldUpdate) {
Future.delayed(Duration.zero, () {
showDialog(