fix: Undo removing of default values in constructors

This commit is contained in:
PartyDonut 2025-10-19 13:59:33 +02:00
parent 666f831053
commit 5530c6fd0c
6 changed files with 17 additions and 10 deletions

View file

@ -621,7 +621,7 @@ class _ClientSettingsModel extends ClientSettingsModel
this.themeColor,
this.deriveColorsFromItem = true,
this.amoledBlack = false,
required this.blurPlaceHolders,
this.blurPlaceHolders = true,
this.blurUpcomingEpisodes = false,
@LocaleConvert() this.selectedLocale,
this.enableMediaKeys = true,
@ -632,7 +632,7 @@ class _ClientSettingsModel extends ClientSettingsModel
this.showAllCollectionTypes = false,
this.maxConcurrentDownloads = 2,
this.schemeVariant = DynamicSchemeVariant.rainbow,
required this.backgroundImage,
this.backgroundImage = BackgroundType.blurred,
this.checkForUpdates = true,
this.usePosterForLibrary = false,
this.useSystemIME = false,
@ -669,6 +669,7 @@ class _ClientSettingsModel extends ClientSettingsModel
@JsonKey()
final bool amoledBlack;
@override
@JsonKey()
final bool blurPlaceHolders;
@override
@JsonKey()
@ -701,6 +702,7 @@ class _ClientSettingsModel extends ClientSettingsModel
@JsonKey()
final DynamicSchemeVariant schemeVariant;
@override
@JsonKey()
final BackgroundType backgroundImage;
@override
@JsonKey()