Update sID.lua
This commit is contained in:
parent
827a6fa176
commit
8b47895243
1 changed files with 17 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
local isDown
|
||||
local menu
|
||||
local id
|
||||
|
||||
if not sPhone then
|
||||
print("This app is for sPhone")
|
||||
return
|
||||
|
@ -32,4 +36,17 @@ if isDown ~= "true" then
|
|||
return
|
||||
end
|
||||
|
||||
if fs.exists("/.sPhone/config/.sIDpw") then
|
||||
menu = {
|
||||
"Logout",
|
||||
}
|
||||
_, id = ui.menu("Sertex ID")
|
||||
else
|
||||
menu = {
|
||||
"Login",
|
||||
"New Account",
|
||||
}
|
||||
_, id = ui.menu("Sertex ID")
|
||||
end
|
||||
|
||||
header()
|
||||
|
|
Loading…
Reference in a new issue