wenweiwei 3 лет назад
Родитель
Сommit
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) {
-        if let assets = chosedAsset {
+        if let assets = chosedAsset, assets.count > 0 {
             let vc = INIntroduceController()
             vc.assets = assets
             navigationController?.pushViewController(vc, animated: true)