mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-10 07:13:28 +01:00
Reloads widget timelines on app launch
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
import UIKit
|
||||
import Roxas
|
||||
import WidgetKit
|
||||
|
||||
import AltStoreCore
|
||||
|
||||
@@ -86,6 +87,8 @@ extension LaunchViewController
|
||||
|
||||
self.updateKnownSources()
|
||||
|
||||
WidgetCenter.shared.reloadAllTimelines()
|
||||
|
||||
// Add view controller as child (rather than presenting modally)
|
||||
// so tint adjustment + card presentations works correctly.
|
||||
self.destinationViewController.view.frame = CGRect(x: 0, y: 0, width: self.view.bounds.width, height: self.view.bounds.height)
|
||||
|
||||
Reference in New Issue
Block a user