mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-09 07:28:14 -07:00
feature: Improved sync capability
This commit is contained in:
parent
f3e920ac79
commit
c5c7f71b84
31 changed files with 500 additions and 344 deletions
|
|
@ -59,8 +59,9 @@ class _BackgroundImageState extends ConsumerState<BackgroundImage> {
|
|||
if (itemId == null) return;
|
||||
|
||||
final apiResponse = await ref.read(jellyApiProvider).usersUserIdItemsItemIdGet(itemId: itemId);
|
||||
final image =
|
||||
apiResponse.body?.parentBaseModel.getPosters?.randomBackDrop ?? apiResponse.body?.getPosters?.randomBackDrop;
|
||||
final image = apiResponse.body?.parentBaseModel.getPosters?.randomBackDrop ??
|
||||
apiResponse.body?.getPosters?.randomBackDrop ??
|
||||
apiResponse.body?.getPosters?.primary;
|
||||
|
||||
if (mounted) setState(() => backgroundImage = image);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue