Browse Source

Set cover editor dialog cancelable = false

Wayne 6 years ago
parent
commit
d065656302

+ 4 - 0
src/main/java/com/bomostory/sceneeditmodule/cover/CoverEditorDialog.kt

@@ -18,6 +18,10 @@ class CoverEditorDialog : DialogFragment() {
         const val PAGE_COUNT = 2
     }
 
+    init {
+        isCancelable = false
+    }
+
     private val dialogTag = this::class.java.simpleName
 
     lateinit var onViewCreated: Runnable