π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Rename isIndependent to supportsInAppUpdates in auth
Manav Rathi4af3b5a85714
diff --git a/mobile/apps/auth/lib/services/update_service.dart b/mobile/apps/auth/lib/services/update_service.dartindex 9f8ba3445c..2aedc5a40d 100644--- a/mobile/apps/auth/lib/services/update_service.dart+++ b/mobile/apps/auth/lib/services/update_service.dart@@ -29,7 +29,7 @@ class UpdateService {}Future<bool> shouldUpdate() async {- if (!isIndependent()) {+ if (!supportsInAppUpdates()) {return false;}try {@@ -43,7 +43,7 @@ class UpdateService {}bool shouldForceUpdate(LatestVersionInfo? info) {- if (!isIndependent()) {+ if (!supportsInAppUpdates()) {return false;}try {@@ -60,7 +60,7 @@ class UpdateService {}Future<bool> showUpdateNotification() async {- if (!isIndependent()) {+ if (!supportsInAppUpdates()) {return false;}final shouldUpdate = await this.shouldUpdate();@@ -136,7 +136,7 @@ class UpdateService {}}- bool isIndependent() {+ bool supportsInAppUpdates() {return appFlavor == "independent" || PlatformDetector.isDesktop();}}diff --git a/mobile/apps/auth/lib/ui/settings/about_section_widget.dart b/mobile/apps/auth/lib/ui/settings/about_section_widget.dartindex 247d81b945..3f75697c62 100644--- a/mobile/apps/auth/lib/ui/settings/about_section_widget.dart+++ b/mobile/apps/auth/lib/ui/settings/about_section_widget.dart@@ -51,7 +51,7 @@ class AboutSectionWidget extends StatelessWidget {url: "https://ente.com/terms",),sectionOptionSpacing,- UpdateService.instance.isIndependent()+ UpdateService.instance.supportsInAppUpdates()? Column(children: [MenuItemWidget(