harry преди 3 години
родител
ревизия
6b3e9cf281
променени са 1 файла, в които са добавени 7 реда и са изтрити 0 реда
  1. 7 0
      Introduce/Record/INIntroduceController.swift

+ 7 - 0
Introduce/Record/INIntroduceController.swift

@@ -118,6 +118,13 @@ class INIntroduceController: BFBaseViewController {
     }
 
     @objc func exportAction() {
+        if recordScreenVC.itemModels.count == 1
+            && recordScreenVC.itemModels[0].mediaType == .IMAGE
+            && recordScreenVC.itemModels[0].voiceStickers.count == 0{
+            cShowHUB(superView: nil, msg: "开局一张图也要编些话吧:)")
+            return
+        }
+        
         recordScreenVC.backBtnClick()
 
         let controller = INVideoExportController()