Browse Source

add new tip

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 years ago
parent
commit
0b680554c1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      iOSClient/Viewer/NCViewerMedia/NCViewerMedia.swift

+ 1 - 0
iOSClient/Viewer/NCViewerMedia/NCViewerMedia.swift

@@ -76,6 +76,7 @@ class NCViewerMedia: UIViewController {
     deinit {
         print("deinit NCViewerMedia")
 
+        self.tipView?.dismiss()
         NotificationCenter.default.removeObserver(self, name: NSNotification.Name(rawValue: NCGlobal.shared.notificationCenterOpenMediaDetail), object: nil)
     }