Reloads widget timelines on app launch

This commit is contained in:
Riley Testut
2023-09-08 15:04:03 -05:00
parent 96ad129b00
commit 8a672533cd

View File

@@ -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)