diff --git a/app/lib/ui/devices.js b/app/lib/ui/devices.js index 4856b19..e403de7 100644 --- a/app/lib/ui/devices.js +++ b/app/lib/ui/devices.js @@ -1,252 +1,243 @@ -const devices = {}; - -devices.init = function () { - 'use strict'; - devices.listen(); - devices.profiles(); - gui.overlay(true); - gui.spinner(true, 'Checking for connected devices...'); -}; -devices.profiles = function () { - 'use strict'; - const keys = Object.keys(cfg.profiles); - const elem = $('#profile') - let opt; - elem.empty(); - for (let key of keys) { - opt = $('