Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mobile][auth] drop menubar mode subtitle, no settings item uses help text

Ivn Nvfbcbe8e70bf9
diff --git a/mobile/apps/auth/lib/l10n/arb/app_en.arb b/mobile/apps/auth/lib/l10n/arb/app_en.arb
index 6594354273..04b4374da6 100644
--- a/mobile/apps/auth/lib/l10n/arb/app_en.arb
+++ b/mobile/apps/auth/lib/l10n/arb/app_en.arb
@@ -404,7 +404,6 @@
"focusOnSearchBar": "Focus search on app start",
"minimizeToTrayOnClose": "Minimize to tray on close",
"menubarMode": "Menubar mode",
- "menubarModeDescription": "Click the menubar icon to show codes in a popover",
"restartAppToApplyChanges": "Restart the app to apply this change",
"confirmUpdatingkey": "Are you sure you want to update the secret key?",
"minimizeAppOnCopy": "Minimize app on copy",
diff --git a/mobile/apps/auth/lib/ui/settings/general_settings_page.dart b/mobile/apps/auth/lib/ui/settings/general_settings_page.dart
index 9e74578c78..950969eed6 100644
--- a/mobile/apps/auth/lib/ui/settings/general_settings_page.dart
+++ b/mobile/apps/auth/lib/ui/settings/general_settings_page.dart
@@ -105,7 +105,6 @@ class GeneralSettingsPage extends StatelessWidget {
if (Platform.isMacOS)
_toggleItem(
title: l10n.menubarMode,
- subtitle: l10n.menubarModeDescription,
value: PreferenceService.instance.isMenubarModeEnabled,
onChanged: () async {
await PreferenceService.instance.setMenubarModeEnabled(
@@ -131,13 +130,11 @@ class GeneralSettingsPage extends StatelessWidget {
AuthSettingsItem _toggleItem({
required String title,
- String? subtitle,
required ValueGetter<bool> value,
required Future<void> Function() onChanged,
}) {
return AuthSettingsItem(
title: title,
- subtitle: subtitle,
showChevron: false,
trailing: ToggleSwitchComponent.async(value: value, onChanged: onChanged),
);