From 8a672533cd624052d54e76862e0c87f79bc6066a 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 ef5be942..f49de697 100644 --- a/AltStore/LaunchViewController.swift +++ b/AltStore/LaunchViewController.swift @@ -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)