π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix: Hide shared items from home for offline gallery
AmanRajSinghMourya1082bfb515dd
diff --git a/mobile/apps/photos/lib/ui/settings/search/settings_search_registry.dart b/mobile/apps/photos/lib/ui/settings/search/settings_search_registry.dartindex c7b5d6e988..564c46e4b2 100644--- a/mobile/apps/photos/lib/ui/settings/search/settings_search_registry.dart+++ b/mobile/apps/photos/lib/ui/settings/search/settings_search_registry.dart@@ -365,19 +365,21 @@ class SettingsSearchRegistry {),);- items.add(- SettingsSearchItem(- title: l10n.hideSharedItemsFromHomeGallery,- subtitle: l10n.gallery,- sectionPath: "${l10n.appearance} > ${l10n.gallery}",- icon: HugeIcons.strokeRoundedImage01,- routeBuilder: (_) => const GallerySettingsScreen(- fromGalleryLayoutSettingsCTA: false,+ if (!isOffline) {+ items.add(+ SettingsSearchItem(+ title: l10n.hideSharedItemsFromHomeGallery,+ subtitle: l10n.gallery,+ sectionPath: "${l10n.appearance} > ${l10n.gallery}",+ icon: HugeIcons.strokeRoundedImage01,+ routeBuilder: (_) => const GallerySettingsScreen(+ fromGalleryLayoutSettingsCTA: false,+ ),+ isSubPage: true,+ keywords: ["shared", "hide", "home gallery"],),- isSubPage: true,- keywords: ["shared", "hide", "home gallery"],- ),- );+ );+ }// Machine Learning settingsif (hasLoggedIn || isOffline) {