Explorar o código

Merge branch 'google' into qiye

honghengqiang %!s(int64=3) %!d(string=hai) anos
pai
achega
e122cba41f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      home/src/main/java/com/swago/home/update/UpdateDialog.kt

+ 1 - 1
home/src/main/java/com/swago/home/update/UpdateDialog.kt

@@ -34,7 +34,7 @@ class UpdateDialog : BaseXDFragment<DialogUpdateBinding>() {
     override fun initOther() {
         UrlConstant.getConfigModel()?.let {
             dialog?.setOnKeyListener { _, keyCode, _ ->
-                return@setOnKeyListener !(keyCode == KeyEvent.KEYCODE_BACK && it.force == 1)
+                return@setOnKeyListener !(keyCode == KeyEvent.KEYCODE_BACK && it.force == 0)
             }
 
             if (it.force == 1) {