mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-13 00:33:28 +01:00
Limits updating sources to app launch and manually via pull-to-refresh
This commit is contained in:
@@ -304,6 +304,11 @@ extension LaunchViewController
|
||||
AppManager.shared.updatePatronsIfNeeded()
|
||||
PatreonAPI.shared.refreshPatreonAccount()
|
||||
|
||||
AppManager.shared.updateAllSources { result in
|
||||
guard case .failure(let error) = result else { return }
|
||||
Logger.main.error("Failed to update sources on launch. \(error.localizedDescription, privacy: .public)")
|
||||
}
|
||||
|
||||
self.updateKnownSources()
|
||||
|
||||
WidgetCenter.shared.reloadAllTimelines()
|
||||
|
||||
Reference in New Issue
Block a user