mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-08 15:08:18 -07:00
chore: Add sensible defaults to init lean-back mode
This commit is contained in:
parent
9954ed7db5
commit
829bc3e34c
10 changed files with 37 additions and 25 deletions
|
|
@ -26,7 +26,7 @@ _ClientSettingsModel _$ClientSettingsModelFromJson(Map<String, dynamic> json) =>
|
|||
themeColor: $enumDecodeNullable(_$ColorThemesEnumMap, json['themeColor']),
|
||||
deriveColorsFromItem: json['deriveColorsFromItem'] as bool? ?? true,
|
||||
amoledBlack: json['amoledBlack'] as bool? ?? false,
|
||||
blurPlaceHolders: json['blurPlaceHolders'] as bool? ?? true,
|
||||
blurPlaceHolders: json['blurPlaceHolders'] as bool,
|
||||
blurUpcomingEpisodes: json['blurUpcomingEpisodes'] as bool? ?? false,
|
||||
selectedLocale:
|
||||
const LocaleConvert().fromJson(json['selectedLocale'] as String?),
|
||||
|
|
@ -41,9 +41,8 @@ _ClientSettingsModel _$ClientSettingsModelFromJson(Map<String, dynamic> json) =>
|
|||
schemeVariant: $enumDecodeNullable(
|
||||
_$DynamicSchemeVariantEnumMap, json['schemeVariant']) ??
|
||||
DynamicSchemeVariant.rainbow,
|
||||
backgroundImage: $enumDecodeNullable(
|
||||
_$BackgroundTypeEnumMap, json['backgroundImage']) ??
|
||||
BackgroundType.blurred,
|
||||
backgroundImage:
|
||||
$enumDecode(_$BackgroundTypeEnumMap, json['backgroundImage']),
|
||||
checkForUpdates: json['checkForUpdates'] as bool? ?? true,
|
||||
usePosterForLibrary: json['usePosterForLibrary'] as bool? ?? false,
|
||||
useSystemIME: json['useSystemIME'] as bool? ?? false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue