Просмотр исходного кода

add new tip

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 лет назад
Родитель
Сommit
0b680554c1
1 измененных файлов с 1 добавлено и 0 удалено
  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)
     }