From 021b49c436b3496a0c205f5fe081849b1cc92673 Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Fri, 8 Sep 2023 15:04:03 -0500 Subject: [PATCH] Reloads widget timelines on app launch --- AltStore/LaunchViewController.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AltStore/LaunchViewController.swift b/AltStore/LaunchViewController.swift index 48e292b5..2e0791a0 100644 --- a/AltStore/LaunchViewController.swift +++ b/AltStore/LaunchViewController.swift @@ -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)