소스 검색

add empty metarial

wenweiwei 3 년 전
부모
커밋
6575065c6e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Introduce/Record/INPhotoVideosController.swift

+ 1 - 1
Introduce/Record/INPhotoVideosController.swift

@@ -204,7 +204,7 @@ class INPhotoVideosController: BFBaseViewController {
     }
     }
 
 
     override func rightBtnClick(sender _: UIButton) {
     override func rightBtnClick(sender _: UIButton) {
-        if let assets = chosedAsset {
+        if let assets = chosedAsset, assets.count > 0 {
             let vc = INIntroduceController()
             let vc = INIntroduceController()
             vc.assets = assets
             vc.assets = assets
             navigationController?.pushViewController(vc, animated: true)
             navigationController?.pushViewController(vc, animated: true)