Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Update machine learning settings page

vishnukvmd4edebb9501a7
diff --git a/lib/generated/intl/messages_en.dart b/lib/generated/intl/messages_en.dart
index 1872064d59..f0fc982cb2 100644
--- a/lib/generated/intl/messages_en.dart
+++ b/lib/generated/intl/messages_en.dart
@@ -856,7 +856,7 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage("Machine learning"),
"magicSearch": MessageLookupByLibrary.simpleMessage("Magic search"),
"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"),
"manageDeviceStorage":
MessageLookupByLibrary.simpleMessage("Manage device storage"),
diff --git a/lib/generated/l10n.dart b/lib/generated/l10n.dart
index c4b5a40ea9..301641f619 100644
--- a/lib/generated/l10n.dart
+++ b/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 {
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',
desc: '',
args: [],
diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb
index 2f26f7da57..3718015175 100644
--- a/lib/l10n/intl_en.arb
+++ b/lib/l10n/intl_en.arb
@@ -408,7 +408,7 @@
"manageDeviceStorage": "Manage device storage",
"machineLearning": "Machine learning",
"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",
"indexedItems": "Indexed items",
"pendingItems": "Pending items",
diff --git a/lib/ui/settings/machine_learning_settings_page.dart b/lib/ui/settings/machine_learning_settings_page.dart
index 158abd0f25..de40c7947c 100644
--- a/lib/ui/settings/machine_learning_settings_page.dart
+++ b/lib/ui/settings/machine_learning_settings_page.dart
@@ -192,12 +192,12 @@ class _MagicSearchIndexStatsWidgetState
Row(
children: [
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(