mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-09 07:28:14 -07:00
feat: Added option to use library posters instead of icons
This commit is contained in:
parent
a9cdd5c506
commit
f0216fa799
10 changed files with 160 additions and 39 deletions
|
|
@ -99,6 +99,18 @@ List<Widget> buildClientSettingsVisual(
|
|||
ref.read(clientSettingsProvider.notifier).update((cb) => cb.copyWith(backgroundPosters: value)),
|
||||
),
|
||||
),
|
||||
SettingsListTile(
|
||||
label: Text(context.localized.usePostersForLibraryIconsTitle),
|
||||
subLabel: Text(context.localized.usePostersForLibraryIconsDesc),
|
||||
onTap: () => ref
|
||||
.read(clientSettingsProvider.notifier)
|
||||
.update((cb) => cb.copyWith(usePosterForLibrary: !clientSettings.usePosterForLibrary)),
|
||||
trailing: Switch(
|
||||
value: clientSettings.usePosterForLibrary,
|
||||
onChanged: (value) =>
|
||||
ref.read(clientSettingsProvider.notifier).update((cb) => cb.copyWith(usePosterForLibrary: value)),
|
||||
),
|
||||
),
|
||||
SettingsListTile(
|
||||
label: Text(context.localized.settingsNextUpCutoffDays),
|
||||
trailing: SizedBox(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue