π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
hide from search settings as well
AmanRajSinghMouryae6a6a434a268
diff --git a/mobile/apps/locker/lib/ui/settings/pages/settings_search_page.dart b/mobile/apps/locker/lib/ui/settings/pages/settings_search_page.dartindex 0f12287369..d8d5ebd493 100644--- a/mobile/apps/locker/lib/ui/settings/pages/settings_search_page.dart+++ b/mobile/apps/locker/lib/ui/settings/pages/settings_search_page.dart@@ -1,4 +1,5 @@import "dart:async";+import "dart:io";import "package:ente_accounts/services/user_service.dart";import "package:ente_ui/components/alert_bottom_sheet.dart";@@ -6,6 +7,7 @@ import "package:ente_ui/components/buttons/gradient_button.dart";import "package:ente_ui/theme/colors.dart";import "package:ente_ui/theme/ente_theme.dart";import "package:ente_ui/theme/text_style.dart";+import "package:flutter/foundation.dart";import "package:flutter/material.dart";import "package:hugeicons/hugeicons.dart";import "package:locker/l10n/l10n.dart";@@ -96,11 +98,12 @@ class _SettingsSearchPageState extends State<SettingsSearchPage> {category: l10n.security,page: const SecuritySettingsPage(),),- _SearchableSetting(- title: l10n.appearance,- category: l10n.appearance,- page: const ThemeSettingsPage(),- ),+ if (Platform.isAndroid || kDebugMode)+ _SearchableSetting(+ title: l10n.appearance,+ category: l10n.appearance,+ page: const ThemeSettingsPage(),+ ),],_SearchableSetting(title: l10n.general,diff --git a/mobile/apps/locker/lib/ui/settings/settings_page.dart b/mobile/apps/locker/lib/ui/settings/settings_page.dartindex 7461689667..5df2b5bb71 100644--- a/mobile/apps/locker/lib/ui/settings/settings_page.dart+++ b/mobile/apps/locker/lib/ui/settings/settings_page.dart@@ -4,6 +4,7 @@ import "package:ente_accounts/services/user_service.dart";import "package:ente_ui/components/alert_bottom_sheet.dart";import "package:ente_ui/components/buttons/gradient_button.dart";import "package:ente_ui/theme/ente_theme.dart";+import "package:flutter/foundation.dart";import "package:flutter/material.dart";import "package:hugeicons/hugeicons.dart";import "package:locker/l10n/l10n.dart";@@ -51,7 +52,7 @@ class SettingsWidget extends StatelessWidget {);contents.add(itemSpacing);- if (Platform.isAndroid) {+ if (Platform.isAndroid || kDebugMode) {contents.add(SettingsItem(icon: HugeIcons.strokeRoundedSun03,