瀏覽代碼

Set cover editor dialog cancelable = false

Wayne 6 年之前
父節點
當前提交
d065656302
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/main/java/com/bomostory/sceneeditmodule/cover/CoverEditorDialog.kt

+ 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