diff --git a/src/apps/system/sID.lua b/src/apps/system/sID.lua index b269a3f..d07e637 100644 --- a/src/apps/system/sID.lua +++ b/src/apps/system/sID.lua @@ -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()