mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-05 22:37:45 +01:00
Set bgtask to complete
This commit is contained in:
parent
d9a4d42ca0
commit
fbf2da0ab5
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user