Skip to content

Commit

Permalink
Add default value
Browse files Browse the repository at this point in the history
  • Loading branch information
veloce committed Dec 10, 2024
1 parent 935ff6a commit 1088f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/model/settings/general_preferences.dart
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class GeneralPrefs with _$GeneralPrefs implements Serializable {
@JsonKey(defaultValue: 0.8) required double masterVolume,

/// Should enable system color palette (android 12+ only)
required bool systemColors,
@JsonKey(defaultValue: true) required bool systemColors,

/// Locale to use in the app, use system locale if null
@JsonKey(toJson: _localeToJson, fromJson: _localeFromJson) Locale? locale,
Expand Down

0 comments on commit 1088f74

Please sign in to comment.