π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
use better fn name
ashilknc15db39240cc
diff --git a/lib/services/update_service.dart b/lib/services/update_service.dartindex ca49850043..13a1cee1e2 100644--- a/lib/services/update_service.dart+++ b/lib/services/update_service.dart@@ -73,7 +73,7 @@ class UpdateService {return _latestVersion;}- Future<bool> canShowUpdateNoification() async {+ Future<bool> shouldShowUpdateNoification() async {final shouldUpdate = await this.shouldUpdate();final lastNotificationShownTime =@@ -87,7 +87,7 @@ class UpdateService {}Future<void> showUpdateNotification() async {- if (await canShowUpdateNoification()) {+ if (await shouldShowUpdateNoification()) {// ignore: unawaited_futuresNotificationService.instance.showNotification("Update available",diff --git a/lib/ui/tabs/home_widget.dart b/lib/ui/tabs/home_widget.dartindex 104ff6742a..6ce7d46d12 100644--- a/lib/ui/tabs/home_widget.dart+++ b/lib/ui/tabs/home_widget.dart@@ -194,7 +194,7 @@ class _HomeWidgetState extends State<HomeWidget> {},);_initDeepLinks();- UpdateService.instance.canShowUpdateNoification().then((value) {+ UpdateService.instance.shouldShowUpdateNoification().then((value) {Future.delayed(Duration.zero, () {if (value) {showDialog(