canvas use in UI overhaul

This commit is contained in:
kepler155c@gmail.com
2019-01-30 15:11:41 -05:00
parent 02629e266b
commit 3574d26caa
12 changed files with 137 additions and 147 deletions

View File

@@ -3,7 +3,7 @@ local UI = require('ui')
local device = _G.device
local tab = UI.Window {
local tab = UI.Tab {
tabTitle = 'Network',
description = 'Networking options',
form = UI.Form {
@@ -40,7 +40,7 @@ function tab:enable()
local config = Config.load('os')
self.form.modem.value = config.wirelessModem or 'auto'
UI.Window.enable(self)
UI.Tab.enable(self)
end
function tab:eventHandler(event)