Browse Source

add empty metarial

wenweiwei 3 years ago
parent
commit
6575065c6e
1 changed files with 1 additions and 1 deletions
  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) {
-        if let assets = chosedAsset {
+        if let assets = chosedAsset, assets.count > 0 {
             let vc = INIntroduceController()
             vc.assets = assets
             navigationController?.pushViewController(vc, animated: true)