NetworkListener: fix typo (#15656)

This commit is contained in:
Frans de Jonge authored and GitHub committed 2026-07-08 20:49:17 +02:00
1 parent 009367df7a
commit 7b2cdc05f2
1 file changed
+1 -1
+1 -1
View File
@@ -182,7 +182,7 @@ function NetworkListener:onNetworkConnected()
NetworkMgr:setConnectionState(true)
-- You can't set auto_disable_wifi on devices without getNetworkInterfaceName() but guard against it in case it was accidentally set anyway.
if not self:getNetworkInterfaceName() or not G_reader_settings:isTrue("auto_disable_wifi") then
if not NetworkMgr:getNetworkInterfaceName() or not G_reader_settings:isTrue("auto_disable_wifi") then
return
end