π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Persist Auth theme changes
Neeraj Gupta16ecb16688b7
diff --git a/mobile/apps/auth/lib/ui/settings/theme_switch_widget.dart b/mobile/apps/auth/lib/ui/settings/theme_switch_widget.dartindex 0232f55a5a..08e6b317f2 100644--- a/mobile/apps/auth/lib/ui/settings/theme_switch_widget.dart+++ b/mobile/apps/auth/lib/ui/settings/theme_switch_widget.dart@@ -82,7 +82,9 @@ class _ThemeSwitchWidgetState extends State<ThemeSwitchWidget> {trailingIcon: currentThemeMode == themeMode ? Icons.check : null,trailingExtraMargin: 4,onTap: () async {- AdaptiveTheme.of(context).setThemeMode(themeMode);+ final adaptiveTheme = AdaptiveTheme.of(context);+ adaptiveTheme.setThemeMode(themeMode);+ await adaptiveTheme.persist();currentThemeMode = themeMode;if (mounted) {setState(() {});