فهرست منبع

fix

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 سال پیش
والد
کامیت
fb60c4df90
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift

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

@@ -207,6 +207,7 @@ extension NCPlayer: VLCMediaPlayerDelegate {
         case .error:
             let error = NKError(errorCode: NCGlobal.shared.errorInternalError, errorDescription: "_error_something_wrong_")
             NCContentPresenter.shared.showError(error: error, priority: .max)
+            playerToolBar?.removeFromSuperview()
             print("Played mode: ERROR")
             break
         case .playing: