mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-02 10:22:35 +00:00
Set bgtask to complete
This commit is contained in:
1 parent
d9a4d42ca0
commit
fbf2da0ab5
1 file changed
+1
@@ -263,6 +263,7 @@ private extension AppDelegate {
|
||||
// If the device is in low power mode, return early
|
||||
if ProcessInfo.processInfo.isLowPowerModeEnabled {
|
||||
os_log("Device is in low power mode. Background refresh terminated.", log: self.log, type: .info)
|
||||
task.setTaskCompleted(success: false)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user