refactor: Update color handling to use ARGB format and improve theme consistency

This commit is contained in:
2026-07-01 10:41:59 +02:00
parent 82515960f6
commit 972006c29f
5 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -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;