Przeglądaj źródła

Update machine learning settings page

vishnukvmd 1 rok temu
rodzic
commit
4edebb9501

+ 1 - 1
lib/generated/intl/messages_en.dart

@@ -856,7 +856,7 @@ class MessageLookup extends MessageLookupByLibrary {
             MessageLookupByLibrary.simpleMessage("Machine learning"),
             MessageLookupByLibrary.simpleMessage("Machine learning"),
         "magicSearch": MessageLookupByLibrary.simpleMessage("Magic search"),
         "magicSearch": MessageLookupByLibrary.simpleMessage("Magic search"),
         "magicSearchDescription": MessageLookupByLibrary.simpleMessage(
         "magicSearchDescription": MessageLookupByLibrary.simpleMessage(
-            "Please use our Desktop app to index the pending items in your library."),
+            "Please note that this will result in a higher bandwidth and battery usage until all items are indexed."),
         "manage": MessageLookupByLibrary.simpleMessage("Manage"),
         "manage": MessageLookupByLibrary.simpleMessage("Manage"),
         "manageDeviceStorage":
         "manageDeviceStorage":
             MessageLookupByLibrary.simpleMessage("Manage device storage"),
             MessageLookupByLibrary.simpleMessage("Manage device storage"),

+ 2 - 2
lib/generated/l10n.dart

@@ -2866,10 +2866,10 @@ class S {
     );
     );
   }
   }
 
 
-  /// `Please use our Desktop app to index the pending items in your library.`
+  /// `Please note that this will result in a higher bandwidth and battery usage until all items are indexed.`
   String get magicSearchDescription {
   String get magicSearchDescription {
     return Intl.message(
     return Intl.message(
-      'Please use our Desktop app to index the pending items in your library.',
+      'Please note that this will result in a higher bandwidth and battery usage until all items are indexed.',
       name: 'magicSearchDescription',
       name: 'magicSearchDescription',
       desc: '',
       desc: '',
       args: [],
       args: [],

+ 1 - 1
lib/l10n/intl_en.arb

@@ -408,7 +408,7 @@
   "manageDeviceStorage": "Manage device storage",
   "manageDeviceStorage": "Manage device storage",
   "machineLearning": "Machine learning",
   "machineLearning": "Machine learning",
   "magicSearch": "Magic search",
   "magicSearch": "Magic search",
-  "magicSearchDescription": "Please use our Desktop app to index the pending items in your library.",
+  "magicSearchDescription": "Please note that this will result in a higher bandwidth and battery usage until all items are indexed.",
   "status": "Status",
   "status": "Status",
   "indexedItems": "Indexed items",
   "indexedItems": "Indexed items",
   "pendingItems": "Pending items",
   "pendingItems": "Pending items",

+ 6 - 6
lib/ui/settings/machine_learning_settings_page.dart

@@ -192,12 +192,12 @@ class _MagicSearchIndexStatsWidgetState
         Row(
         Row(
           children: [
           children: [
             MenuSectionTitle(title: S.of(context).status),
             MenuSectionTitle(title: S.of(context).status),
-            // Expanded(child: Container()),
-            // _status!.pendingItems > 0
-            //     ? EnteLoadingWidget(
-            //         color: getEnteColorScheme(context).fillMuted,
-            //       )
-            //     : const SizedBox.shrink(),
+            Expanded(child: Container()),
+            _status!.pendingItems > 0
+                ? EnteLoadingWidget(
+                    color: getEnteColorScheme(context).fillMuted,
+                  )
+                : const SizedBox.shrink(),
           ],
           ],
         ),
         ),
         MenuItemWidget(
         MenuItemWidget(