Ver código fonte

rename widget

Signed-off-by: marinofaggiana <marino.faggiana@nextcloud.com>
marinofaggiana 2 anos atrás
pai
commit
c4a882597b
1 arquivos alterados com 5 adições e 0 exclusões
  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