220
221
222
223
224
225
226
227
228
229
230
231
232
233
|
pnan.primary = nil
elseif pptrMatch(ptr, pnan.secondary) then
pnan.secondary = nil
else
pnan.secondary = ptr
end
user:suitSound 'starlit-configure'
elseif pgm.sw.powerKind == 'direct' then
local ctx = suitCtx(pgm)
if pgm.sw.ui then
user:openUI(pgm.sw.ui, 'index', ctx)
return false
else
pgm.sw.run(user, ctx)
|
|
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
|
pnan.primary = nil
elseif pptrMatch(ptr, pnan.secondary) then
pnan.secondary = nil
else
pnan.secondary = ptr
end
user:suitSound 'starlit-configure'
if user.actMode == 'off' then
user:actModeSet 'nano'
end
elseif pgm.sw.powerKind == 'direct' then
local ctx = suitCtx(pgm)
if pgm.sw.ui then
user:openUI(pgm.sw.ui, 'index', ctx)
return false
else
pgm.sw.run(user, ctx)
|