From 09ba4772b844083394293e280dc8b6db65450f05 Mon Sep 17 00:00:00 2001 From: Viktor De Pasquale Date: Mon, 30 Mar 2020 16:06:05 +0200 Subject: [PATCH] Fixed using wrong argument for flashing order --- .../topjohnwu/magisk/model/events/InstallExternalModuleEvent.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/topjohnwu/magisk/model/events/InstallExternalModuleEvent.kt b/app/src/main/java/com/topjohnwu/magisk/model/events/InstallExternalModuleEvent.kt index ba452a276..2dd84ef79 100644 --- a/app/src/main/java/com/topjohnwu/magisk/model/events/InstallExternalModuleEvent.kt +++ b/app/src/main/java/com/topjohnwu/magisk/model/events/InstallExternalModuleEvent.kt @@ -24,7 +24,7 @@ class InstallExternalModuleEvent : ViewEvent(), ActivityExecutor { if (requestCode == Const.ID.FETCH_ZIP && resultCode == Activity.RESULT_OK && data != null) { val data = data.data if (data != null) { - return MainDirections.actionFlashFragment(data, Const.Key.FLASH_ACTION) + return MainDirections.actionFlashFragment(data, Const.Value.FLASH_ZIP) } } return null