π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Put vectorDB behind feature flag
laurenspriemeb967709dddf
diff --git a/mobile/apps/photos/lib/ui/settings/backup/free_space_options.dart b/mobile/apps/photos/lib/ui/settings/backup/free_space_options.dartindex 9583d26193..95f61344b8 100644--- a/mobile/apps/photos/lib/ui/settings/backup/free_space_options.dart+++ b/mobile/apps/photos/lib/ui/settings/backup/free_space_options.dart@@ -188,38 +188,41 @@ class _FreeUpSpaceOptionsScreenState extends State<FreeUpSpaceOptionsScreen> {const SizedBox(height: 24,),- MenuItemWidget(- captionedTextWidget:- const CaptionedTextWidget(- title:- "Similar images", // TODO: lau: extract string+ if (flagService.enableVectorDb)+ MenuItemWidget(+ captionedTextWidget:+ const CaptionedTextWidget(+ title:+ "Similar images", // TODO: lau: extract string+ ),+ menuItemColor: colorScheme.fillFaint,+ trailingWidget: Icon(+ Icons.chevron_right_outlined,+ color: colorScheme.strokeBase,+ ),+ singleBorderRadius: 8,+ alignCaptionedTextToLeft: true,+ trailingIconIsMuted: true,+ showOnlyLoadingState: true,+ onTap: () async {+ await routeToPage(+ context,+ const SimilarImagesPage(),+ );+ },),- menuItemColor: colorScheme.fillFaint,- trailingWidget: Icon(- Icons.chevron_right_outlined,- color: colorScheme.strokeBase,+ if (flagService.enableVectorDb)+ const Align(+ alignment: Alignment.centerLeft,+ child: MenuSectionDescriptionWidget(+ content:+ "Use AI to find images that look similar to each other.", // TODO: lau: extract string+ ),),- singleBorderRadius: 8,- alignCaptionedTextToLeft: true,- trailingIconIsMuted: true,- showOnlyLoadingState: true,- onTap: () async {- await routeToPage(- context,- const SimilarImagesPage(),- );- },- ),- const Align(- alignment: Alignment.centerLeft,- child: MenuSectionDescriptionWidget(- content:- "Use AI to find images that look similar to each other.", // TODO: lau: extract string+ if (flagService.enableVectorDb)+ const SizedBox(+ height: 24,),- ),- const SizedBox(- height: 24,- ),MenuItemWidget(captionedTextWidget: CaptionedTextWidget(title: S.of(context).viewLargeFiles,