Fixed using wrong argument for flashing order

This commit is contained in:
Viktor De Pasquale 2020-03-30 16:06:05 +02:00 committed by John Wu
parent 06a1d08465
commit 09ba4772b8

View File

@ -24,7 +24,7 @@ class InstallExternalModuleEvent : ViewEvent(), ActivityExecutor {
if (requestCode == Const.ID.FETCH_ZIP && resultCode == Activity.RESULT_OK && data != null) { if (requestCode == Const.ID.FETCH_ZIP && resultCode == Activity.RESULT_OK && data != null) {
val data = data.data val data = data.data
if (data != null) { if (data != null) {
return MainDirections.actionFlashFragment(data, Const.Key.FLASH_ACTION) return MainDirections.actionFlashFragment(data, Const.Value.FLASH_ZIP)
} }
} }
return null return null