Browse Source

add new tip

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 năm trước cách đây
mục cha
commit
0b680554c1
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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)
     }