mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
[WIP] Fix widget data
This commit is contained in:
@@ -59,6 +59,10 @@ final class WidgetDataContext {
|
||||
} else {
|
||||
let _ = try? FileManager.default.removeItem(atPath: path)
|
||||
}
|
||||
|
||||
if #available(iOSApplicationExtension 14.0, iOS 14.0, *) {
|
||||
WidgetCenter.shared.reloadAllTimelines()
|
||||
}
|
||||
})
|
||||
|
||||
self.widgetPresentationDataDisposable = (presentationData
|
||||
|
||||
Reference in New Issue
Block a user