refactor: Update color handling to use ARGB format and improve theme consistency
This commit is contained in:
+1
-1
@@ -212,7 +212,7 @@ class _NotesAppState extends State<NotesApp>
|
||||
|
||||
Future<void> _setThemeSeedColor(Color color) async {
|
||||
final SharedPreferences prefs = await SharedPreferences.getInstance();
|
||||
await prefs.setInt(_themeSeedColorKey, color.value);
|
||||
await prefs.setInt(_themeSeedColorKey, color.toARGB32());
|
||||
|
||||
if (!mounted) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user