Skip to content

Commit

Permalink
refactor: update default value for useMaterialThemeFromSystem to fals…
Browse files Browse the repository at this point in the history
…e in theme settings
  • Loading branch information
Dr-Blank committed Oct 5, 2024
1 parent 37f775a commit f96b954
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/settings/models/app_settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class ThemeSettings with _$ThemeSettings {
const factory ThemeSettings({
@Default(ThemeMode.system) ThemeMode themeMode,
@Default(false) bool highContrast,
@Default(true) bool useMaterialThemeFromSystem,
@Default(false) bool useMaterialThemeFromSystem,
@Default('#FF311B92') String customThemeColor,
@Default(true) bool useMaterialThemeOfPlayingItem,
@Default(true) bool useMaterialThemeOnItemPage,
Expand Down
2 changes: 1 addition & 1 deletion lib/settings/models/app_settings.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ class _$ThemeSettingsImpl implements _ThemeSettings {
const _$ThemeSettingsImpl(
{this.themeMode = ThemeMode.system,
this.highContrast = false,
this.useMaterialThemeFromSystem = true,
this.useMaterialThemeFromSystem = false,
this.customThemeColor = '#FF311B92',
this.useMaterialThemeOfPlayingItem = true,
this.useMaterialThemeOnItemPage = true});
Expand Down
2 changes: 1 addition & 1 deletion lib/settings/models/app_settings.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f96b954

Please sign in to comment.