π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Display indexing stats to all
vishnukvmd418fd2e1bbd1
diff --git a/lib/ui/settings/machine_learning_settings_page.dart b/lib/ui/settings/machine_learning_settings_page.dartindex c111ef1510..158abd0f25 100644--- a/lib/ui/settings/machine_learning_settings_page.dart+++ b/lib/ui/settings/machine_learning_settings_page.dart@@ -112,28 +112,30 @@ class _MachineLearningSettingsPageStateconst SizedBox(height: 12,),- hasEnabled && kDebugMode+ hasEnabled? Column(children: [const MagicSearchIndexStatsWidget(),const SizedBox(height: 12,),- MenuItemWidget(- leadingIcon: Icons.delete_sweep_outlined,- captionedTextWidget: CaptionedTextWidget(- title: S.of(context).clearIndexes,- ),- menuItemColor: getEnteColorScheme(context).fillFaint,- singleBorderRadius: 8,- alwaysShowSuccessState: true,- onTap: () async {- await SemanticSearchService.instance.clearIndexes();- if (mounted) {- setState(() => {});- }- },- ),+ kDebugMode+ ? MenuItemWidget(+ leadingIcon: Icons.delete_sweep_outlined,+ captionedTextWidget: CaptionedTextWidget(+ title: S.of(context).clearIndexes,+ ),+ menuItemColor: getEnteColorScheme(context).fillFaint,+ singleBorderRadius: 8,+ alwaysShowSuccessState: true,+ onTap: () async {+ await SemanticSearchService.instance.clearIndexes();+ if (mounted) {+ setState(() => {});+ }+ },+ )+ : const SizedBox.shrink(),],): const SizedBox.shrink(),