Update sPhone.lua
This commit is contained in:
parent
bb38961e01
commit
08c9ae64b6
1 changed files with 6 additions and 1 deletions
|
@ -444,7 +444,12 @@ end
|
||||||
end
|
end
|
||||||
|
|
||||||
local function home()
|
local function home()
|
||||||
sPhone.winOk("We wiped sID Database","for security issues")
|
if not fs.exists("/.sPhone/config/resetDBNews") then
|
||||||
|
sPhone.winOk("We wiped sID Database","for security issues")
|
||||||
|
local f = fs.open("/.sPhone/config/resetDBNews","w")
|
||||||
|
f.write("Ignore me")
|
||||||
|
f.close()
|
||||||
|
end
|
||||||
local function drawHome()
|
local function drawHome()
|
||||||
local function box(x,y,text,bg,colorText,page)
|
local function box(x,y,text,bg,colorText,page)
|
||||||
graphics.box(x,y,x+1+#text,y+2,bg)
|
graphics.box(x,y,x+1+#text,y+2,bg)
|
||||||
|
|
Loading…
Reference in a new issue