mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-12 08:13:26 +01:00
Reloads widget timelines on app launch
This commit is contained in:
@@ -10,6 +10,7 @@ import UIKit
|
||||
import Roxas
|
||||
import EmotionalDamage
|
||||
import minimuxer
|
||||
import WidgetKit
|
||||
|
||||
import AltStoreCore
|
||||
import UniformTypeIdentifiers
|
||||
@@ -305,6 +306,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