mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-10 23:33:29 +01:00
Reloads widget timelines on app launch
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
import UIKit
|
import UIKit
|
||||||
import Roxas
|
import Roxas
|
||||||
|
import WidgetKit
|
||||||
|
|
||||||
import AltStoreCore
|
import AltStoreCore
|
||||||
|
|
||||||
@@ -86,6 +87,8 @@ extension LaunchViewController
|
|||||||
|
|
||||||
self.updateKnownSources()
|
self.updateKnownSources()
|
||||||
|
|
||||||
|
WidgetCenter.shared.reloadAllTimelines()
|
||||||
|
|
||||||
// Add view controller as child (rather than presenting modally)
|
// Add view controller as child (rather than presenting modally)
|
||||||
// so tint adjustment + card presentations works correctly.
|
// 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)
|
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