Fixed dialog automatically dismissing itself

This commit is contained in:
Viktor De Pasquale 2019-10-17 15:52:52 +02:00
parent d8338f0b48
commit 1223b48b2c

View File

@ -46,8 +46,8 @@ class MagiskInstallDialog : DialogEvent() {
applyMessage("") applyMessage("")
applyButton(MagiskDialog.ButtonType.POSITIVE) { applyButton(MagiskDialog.ButtonType.POSITIVE) {
titleRes = R.string.download_zip_only titleRes = R.string.download_zip_only
preventDismiss = false
onClick { onClick {
preventDismiss = false
TODO() TODO()
} }
} }