Fix app-control advanced settings panel

Whoops.
This commit is contained in:
20kdc 2018-03-30 18:43:11 +01:00
parent c1d2856755
commit d16a9602f3
2 changed files with 4 additions and 5 deletions

View File

@ -113,11 +113,10 @@ local advPage = 1
local advPlusH = false local advPlusH = false
local function advAsker(info, def, r, parent) local function advAsker(info, def, r, parent)
info = unicode.safeTextFormat(info)
return function () return function ()
return 25, 2, nil, neoux.tcwindow(25, 2, { return 25, 2, nil, neoux.tcwindow(25, 2, {
neoux.tcrawview(1, 1, { neoux.tcrawview(1, 1, {info}),
unicode.safeTextFormat(info)
}),
neoux.tcfield(1, 2, 25, function (tx) neoux.tcfield(1, 2, 25, function (tx)
def = tx or def def = tx or def
return def return def
@ -152,7 +151,7 @@ local function advGen()
currentGen = advAsker("setting ID", "my.setting", function (r) currentGen = advAsker("setting ID", "my.setting", function (r)
settings.setSetting(r, "") settings.setSetting(r, "")
end, currentGen) end, currentGen)
w.reset(advGen()) w.reset(currentGen())
end), end),
} }
local ofs = (advPage - 1) * 7 local ofs = (advPage - 1) * 7

View File

@ -92,7 +92,7 @@ return {
}, },
["neo-coreapps"] = { ["neo-coreapps"] = {
desc = "KittenOS NEO Core Apps", desc = "KittenOS NEO Core Apps",
v = 1, v = 2,
deps = { deps = {
"neo" "neo"
}, },