Parcourir la source

Set cover editor dialog cancelable = false

Wayne il y a 6 ans
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