From 1223b48b2c7319223ec8d41de4e20c381b9f28c7 Mon Sep 17 00:00:00 2001 From: Viktor De Pasquale Date: Thu, 17 Oct 2019 15:52:52 +0200 Subject: [PATCH] Fixed dialog automatically dismissing itself --- .../topjohnwu/magisk/model/events/dialog/MagiskInstallDialog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/topjohnwu/magisk/model/events/dialog/MagiskInstallDialog.kt b/app/src/main/java/com/topjohnwu/magisk/model/events/dialog/MagiskInstallDialog.kt index d25f7415d..ecd7d800f 100644 --- a/app/src/main/java/com/topjohnwu/magisk/model/events/dialog/MagiskInstallDialog.kt +++ b/app/src/main/java/com/topjohnwu/magisk/model/events/dialog/MagiskInstallDialog.kt @@ -46,8 +46,8 @@ class MagiskInstallDialog : DialogEvent() { applyMessage("") applyButton(MagiskDialog.ButtonType.POSITIVE) { titleRes = R.string.download_zip_only - preventDismiss = false onClick { + preventDismiss = false TODO() } }