Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob] Show model download progress

Neeraj Gupta1430c12de414
diff --git a/mobile/lib/ui/settings/machine_learning_settings_page.dart b/mobile/lib/ui/settings/machine_learning_settings_page.dart
index 4a7f8fbd02..f4ea8a76d2 100644
--- a/mobile/lib/ui/settings/machine_learning_settings_page.dart
+++ b/mobile/lib/ui/settings/machine_learning_settings_page.dart
@@ -215,22 +215,21 @@ class _ModelLoadingStateState extends State<ModelLoadingState> {
isGestureDetectorDisabled: true,
),
// show the progress map if in debug mode
- if (flagService.internalUser)
- ..._progressMap.entries.map((entry) {
- return MenuItemWidget(
- key: ValueKey(entry.value),
- captionedTextWidget: CaptionedTextWidget(
- title: entry.key,
- ),
- trailingWidget: Text(
- '${(entry.value.$1 * 100) ~/ entry.value.$2}%',
- style: Theme.of(context).textTheme.bodySmall,
- ),
- singleBorderRadius: 8,
- alignCaptionedTextToLeft: true,
- isGestureDetectorDisabled: true,
- );
- }),
+ ..._progressMap.entries.map((entry) {
+ return MenuItemWidget(
+ key: ValueKey(entry.value),
+ captionedTextWidget: CaptionedTextWidget(
+ title: entry.key,
+ ),
+ trailingWidget: Text(
+ '${(entry.value.$1 * 100) ~/ entry.value.$2}%',
+ style: Theme.of(context).textTheme.bodySmall,
+ ),
+ singleBorderRadius: 8,
+ alignCaptionedTextToLeft: true,
+ isGestureDetectorDisabled: true,
+ );
+ }),
],
);
}