mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2024-11-23 06:09:41 +00:00
update home row layout on refresh so we don't need to restart the app after updating setting
This commit is contained in:
parent
587e9425aa
commit
5a97f2bdd4
@ -65,6 +65,9 @@ sub updateSize()
|
||||
' original layout
|
||||
m.top.translation = [111, 180]
|
||||
m.top.itemSize = [1703, 330]
|
||||
' reset to defaults
|
||||
m.top.focusXOffset = []
|
||||
m.top.rowLabelOffset = [0, 20]
|
||||
end if
|
||||
end if
|
||||
|
||||
@ -73,9 +76,6 @@ sub updateSize()
|
||||
' spacing between items in a row
|
||||
m.top.rowItemSpacing = [21, 0]
|
||||
|
||||
' Default size to wide poster, the most used size
|
||||
m.top.rowItemSize = homeRowItemSizes.WIDE_POSTER
|
||||
|
||||
m.top.visible = true
|
||||
end sub
|
||||
|
||||
@ -465,6 +465,8 @@ end sub
|
||||
sub updateHomeRows()
|
||||
' Hide the row counter to prevent flicker. We'll show it once loading timer fires
|
||||
m.top.showRowCounter = [false]
|
||||
m.top.visible = false
|
||||
updateSize()
|
||||
processUserSections()
|
||||
end sub
|
||||
|
||||
|
@ -1327,8 +1327,8 @@
|
||||
<extracomment>User Setting - Setting title</extracomment>
|
||||
</message>
|
||||
<message>
|
||||
<source>Choose how rows are displayed on the home screen. Jellyfin will need to be closed and reopened for changes to take effect.</source>
|
||||
<translation>Choose how rows are displayed on the home screen. Jellyfin will need to be closed and reopened for changes to take effect.</translation>
|
||||
<source>Choose how rows are displayed on the home screen.</source>
|
||||
<translation>Choose how rows are displayed on the home screen.</translation>
|
||||
<extracomment>User Setting - Setting description</extracomment>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -323,7 +323,7 @@
|
||||
},
|
||||
{
|
||||
"title": "Row Layout",
|
||||
"description": "Choose how rows are displayed on the home screen. Jellyfin will need to be closed and reopened for changes to take effect.",
|
||||
"description": "Choose how rows are displayed on the home screen.",
|
||||
"settingName": "ui.row.layout",
|
||||
"type": "radio",
|
||||
"default": "fullwidth",
|
||||
|
Loading…
Reference in New Issue
Block a user