Pārlūkot izejas kodu

add empty metarial

wenweiwei 3 gadi atpakaļ
vecāks
revīzija
6575065c6e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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)