|
@@ -130,6 +130,8 @@ class INVideoExportController: BFBaseViewController {
|
|
|
guard let sself = self else {
|
|
|
return
|
|
|
}
|
|
|
+ UIApplication.shared.isIdleTimerDisabled = false
|
|
|
+
|
|
|
self?.isExporting = false
|
|
|
sself.bottomView.isHidden = false
|
|
|
sself.progreddL.isHidden = false
|
|
@@ -166,6 +168,12 @@ class INVideoExportController: BFBaseViewController {
|
|
|
showNavigation()
|
|
|
}
|
|
|
|
|
|
+ override func viewWillDisappear(_ animated: Bool) {
|
|
|
+ super.viewWillDisappear(animated)
|
|
|
+ UIApplication.shared.isIdleTimerDisabled = false
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
override func backBtnClick() {
|
|
|
if !(hasExportAll || hasExportOnly) {
|
|
|
|
|
@@ -281,7 +289,8 @@ class INVideoExportController: BFBaseViewController {
|
|
|
progressL.isHidden = false
|
|
|
progreddL.isHidden = true
|
|
|
export.startExprot(synthesisAll:saveAllBtn.isSelected)
|
|
|
-
|
|
|
+ isExporting = true
|
|
|
+ UIApplication.shared.isIdleTimerDisabled = true
|
|
|
}
|
|
|
|
|
|
@objc func saveToPhotoNow(){
|