mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2024-11-23 14:19:40 +00:00
Fix user selection with no public users
This commit is contained in:
parent
ee6cd0491c
commit
7d7226608d
@ -391,7 +391,7 @@ function LoginFlow(startOver = false as boolean)
|
||||
end if
|
||||
publicUsersNodes.push(user)
|
||||
end for
|
||||
user = CreateUserSelectGroup(publicUsersNodes)
|
||||
userSelected = CreateUserSelectGroup(publicUsersNodes)
|
||||
m.scene.focusedChild.visible = false
|
||||
if user = "backPressed" then
|
||||
return LoginFlow(true)
|
||||
@ -403,8 +403,10 @@ function LoginFlow(startOver = false as boolean)
|
||||
return true
|
||||
end if
|
||||
end if
|
||||
else
|
||||
userSelected = ""
|
||||
end if
|
||||
passwordEntry = CreateSigninGroup(user)
|
||||
passwordEntry = CreateSigninGroup(userSelected)
|
||||
if passwordEntry = "backPressed" then
|
||||
m.scene.focusedChild.visible = false
|
||||
return LoginFlow(true)
|
||||
|
Loading…
Reference in New Issue
Block a user