Disable options button and overhang text
This commit is contained in:
parent
494773eb16
commit
c391766fb9
|
@ -1,5 +1,6 @@
|
|||
sub init()
|
||||
m.top.setFocus(true)
|
||||
m.top.optionsAvailable = false
|
||||
end sub
|
||||
|
||||
function onKeyEvent(key as String, press as Boolean) as Boolean
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
sub init()
|
||||
m.top.overhangTitle = "Home"
|
||||
m.top.optionsAvailable = true
|
||||
end sub
|
||||
|
||||
function refresh()
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
sub init()
|
||||
m.top.optionsAvailable = false
|
||||
end sub
|
||||
|
||||
sub itemContentChanged()
|
||||
|
|
|
@ -29,6 +29,7 @@ sub Main()
|
|||
' load home page
|
||||
m.overhang.title = "Home"
|
||||
m.overhang.currentUser = m.user.Name
|
||||
m.overhang.showOptions = true
|
||||
group = CreateHomeGroup()
|
||||
m.scene.appendChild(group)
|
||||
|
||||
|
|
|
@ -28,6 +28,8 @@ function SignOut()
|
|||
end if
|
||||
unset_setting("active_user")
|
||||
m.overhang.currentUser = ""
|
||||
m.overhang.showOptions = false
|
||||
m.scene.unobserveField("optionsPressed")
|
||||
end function
|
||||
|
||||
function AvailableUsers()
|
||||
|
|
Loading…
Reference in New Issue
Block a user