Explorar o código

rename widget

Signed-off-by: marinofaggiana <marino.faggiana@nextcloud.com>
marinofaggiana %!s(int64=2) %!d(string=hai) anos
pai
achega
c4a882597b
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      iOSClient/AppDelegate.swift

+ 5 - 0
iOSClient/AppDelegate.swift

@@ -273,6 +273,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
             showPrivacyProtectionWindow()
         }
 
+        // Reload Widget
+        if #available(iOS 14.0, *) {
+            WidgetCenter.shared.reloadAllTimelines()
+        }
+
         // Clear operation queue
         NCOperationQueue.shared.cancelAllQueue()
         // Clear download