nwm opacity / improvements - env cleanup

This commit is contained in:
kepler155c@gmail.com
2020-05-05 17:26:44 -06:00
parent 87a3f9fa96
commit 8db9a89f68
4 changed files with 75 additions and 99 deletions

View File

@@ -17,9 +17,6 @@ local config = Config.load('secure', {
local timer = config.enabled and os.startTimer(config.timeout)
local sandboxEnv = Util.shallowCopy(_ENV)
setmetatable(sandboxEnv, { __index = _G })
local function buildLockScreen()
_G.requireInjector(_ENV)
@@ -81,7 +78,6 @@ local function showLockScreen()
pinned = true,
focused = true,
title = 'Lock',
env = sandboxEnv,
})
end