diff --git a/lib/core/config/app_chat_chrome.dart b/lib/core/config/app_chat_chrome.dart index 137602d..5e55fcf 100644 --- a/lib/core/config/app_chat_chrome.dart +++ b/lib/core/config/app_chat_chrome.dart @@ -15,7 +15,7 @@ class AppChatChrome { static final _setting = PersistedEnum( prefKey: prefKey, - defaultValue: ChatChromeStyle.transparent, + defaultValue: ChatChromeStyle.color, encode: _encode, decode: _parse, ); @@ -23,7 +23,7 @@ class AppChatChrome { static ValueNotifier get current => _setting.current; static ChatChromeStyle _parse(String? value) => - enumFromName(ChatChromeStyle.values, value, ChatChromeStyle.transparent); + enumFromName(ChatChromeStyle.values, value, ChatChromeStyle.color); static String _encode(ChatChromeStyle value) => value.name; diff --git a/lib/core/config/app_composer_background.dart b/lib/core/config/app_composer_background.dart index de43ec0..b48f89f 100644 --- a/lib/core/config/app_composer_background.dart +++ b/lib/core/config/app_composer_background.dart @@ -19,7 +19,7 @@ class AppComposerBackground { static final _setting = PersistedEnum( prefKey: prefKey, - defaultValue: ComposerBackground.frostBlur, + defaultValue: ComposerBackground.standard, encode: (value) => value.name, decode: _parse, ); @@ -33,6 +33,6 @@ class AppComposerBackground { static ComposerBackground _parse(String? val) => enumFromName( ComposerBackground.values, val, - ComposerBackground.frostBlur, + ComposerBackground.standard, ); } diff --git a/lib/core/config/app_composer_style.dart b/lib/core/config/app_composer_style.dart index 69d3872..0fbc158 100644 --- a/lib/core/config/app_composer_style.dart +++ b/lib/core/config/app_composer_style.dart @@ -9,7 +9,7 @@ class AppComposerStyle { static final _setting = PersistedEnum( prefKey: prefKey, - defaultValue: ComposerStyle.glossy, + defaultValue: ComposerStyle.materialYou, encode: (value) => value.name, decode: _parse, ); @@ -21,5 +21,5 @@ class AppComposerStyle { static Future save(ComposerStyle value) => _setting.save(value); static ComposerStyle _parse(String? val) => - enumFromName(ComposerStyle.values, val, ComposerStyle.glossy); + enumFromName(ComposerStyle.values, val, ComposerStyle.materialYou); } diff --git a/lib/core/config/app_visual_style.dart b/lib/core/config/app_visual_style.dart index e102b35..8c8c786 100644 --- a/lib/core/config/app_visual_style.dart +++ b/lib/core/config/app_visual_style.dart @@ -13,7 +13,7 @@ class AppVisualStyle { static final _setting = PersistedEnum( prefKey: prefKey, - defaultValue: VisualStyle.glossy, + defaultValue: VisualStyle.materialYou, encode: _encode, decode: _parse, ); @@ -27,5 +27,5 @@ class AppVisualStyle { static String _encode(VisualStyle value) => value.name; static VisualStyle _parse(String? val) => - enumFromName(VisualStyle.values, val, VisualStyle.glossy); + enumFromName(VisualStyle.values, val, VisualStyle.materialYou); }