We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a2b91a commit 5a0a8a9Copy full SHA for 5a0a8a9
lib/api/model/theme/theme_settings.dart
@@ -22,7 +22,7 @@ class ThemeSettings {
22
final bool useSystemTheme;
23
24
static Color _colorFromJson(int value) => Color(value);
25
- static int _colorToJson(Color color) => color.value;
+ static int _colorToJson(Color color) => color.toARGB32();
26
27
factory ThemeSettings.fromJson(Map<String, dynamic> json) =>
28
_$ThemeSettingsFromJson(json);
0 commit comments