Tags: tachibana-shin/rakuyomi
Tags
fix(network): ensure wifi is awake before network requests (#11) * fix(network): ensure wifi is awake before network requests This commit wraps network-sensitive actions with `NetworkMgr:beforeWifiAction()` to ensure that the Wi-Fi is awake before making any network requests. This is particularly important on Pocketbook devices where the Wi-Fi may go to sleep. * Fix missing skip_reinit parameter in Menu:updateOfflineSubtitle calls * Update frontend/rakuyomi.koplugin/UpdateChecker.lua Co-authored-by: qodo-code-review[bot] <151058649+qodo-code-review[bot]@users.noreply.github.com> * Simplify network connectivity checks using logical not operator * Refactor network connectivity checks to use centralized beforeWifi utility * Replace NetworkMgr:isOnline() with NetworkMgr:isConnected() for PocketBook compatibility * Remove manual WiFi connection handling in favor of automatic network management * Fix early return in beforeWifi when network is not connected * Remove unused imports from rakuyomi plugin --------- Co-authored-by: qodo-code-review[bot] <151058649+qodo-code-review[bot]@users.noreply.github.com>