From 1c3921eeb8dbe1d3b6971692aa5134c7167913ec Mon Sep 17 00:00:00 2001 From: Edouard Marquez Date: Fri, 4 Aug 2023 15:06:40 +0200 Subject: [PATCH] AMOLED theme: Ensure we save the raw value and not the translation (#4439) --- .../lib/pages/preferences/user_preferences_settings.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/smooth_app/lib/pages/preferences/user_preferences_settings.dart b/packages/smooth_app/lib/pages/preferences/user_preferences_settings.dart index 80c693c9d0b..ce45e7fdc7b 100644 --- a/packages/smooth_app/lib/pages/preferences/user_preferences_settings.dart +++ b/packages/smooth_app/lib/pages/preferences/user_preferences_settings.dart @@ -334,7 +334,7 @@ class _ChooseAccentColor extends StatelessWidget { ), labels: labels.values, values: labels.keys, - currentValue: labels[colorProvider.currentColor], + currentValue: colorProvider.currentColor, onChanged: (String? newValue) { colorProvider.setColor(newValue!); },