From 4461e185f05fa0a244b6cf863d214631d371ffeb Mon Sep 17 00:00:00 2001 From: Billiam Date: Fri, 10 Jan 2025 20:46:00 -0600 Subject: [PATCH] Remove debugging notification --- hardcover/lib/auto_wifi.lua | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/hardcover/lib/auto_wifi.lua b/hardcover/lib/auto_wifi.lua index 7da51f4..39b0f0a 100644 --- a/hardcover/lib/auto_wifi.lua +++ b/hardcover/lib/auto_wifi.lua @@ -23,25 +23,19 @@ function AutoWifi:withWifi(callback) end if self.settings:readSetting(SETTING.ENABLE_WIFI) and not NetworkMgr.pending_connection and Device:hasWifiRestore() then - --UIManager:show(Notification:new { - -- text = "Enabling wifi" - --}) + --logger.warn("HARDCOVER enabling wifi") NetworkMgr:restoreWifiAsync() NetworkMgr:scheduleConnectivityCheck(function() self.connection_pending = false - UIManager:show(Notification:new { - text = "Connection active" - }) + --logger.warn("HARDCOVER wifi enabled") callback() -- TODO: schedule turn off wifi, debounce NetworkMgr:turnOffWifi() --NetworkMgr:turnOffWifi(function() - -- UIManager:show(Notification:new { - -- text = "Disabled wifi" - -- }) + -- logger.warn("HARDCOVER disabling wifi") --end) end) end