From 0e7e3c4534085dd76546f633ea03e1cffc27e6f6 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Thu, 30 May 2024 20:10:45 -0700 Subject: [PATCH] Fix float type --- build.gradle.kts | 2 +- .../kotlin/dev/romainguy/kotlin/explorer/dex/DexDumpParser.kt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index add8dd3d..fe340041 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -68,7 +68,7 @@ compose.desktop { targetFormats(TargetFormat.Dmg) - packageVersion = "1.2.2" + packageVersion = "1.2.4" packageName = "Kotlin Explorer" description = "Kotlin Explorer" vendor = "Romain Guy" diff --git a/src/jvmMain/kotlin/dev/romainguy/kotlin/explorer/dex/DexDumpParser.kt b/src/jvmMain/kotlin/dev/romainguy/kotlin/explorer/dex/DexDumpParser.kt index b5ed6795..da9d9795 100644 --- a/src/jvmMain/kotlin/dev/romainguy/kotlin/explorer/dex/DexDumpParser.kt +++ b/src/jvmMain/kotlin/dev/romainguy/kotlin/explorer/dex/DexDumpParser.kt @@ -158,6 +158,7 @@ private fun jniTypeToJavaType( 'B' -> "byte" 'C' -> "char" 'D' -> "double" + 'F' -> "float" 'I' -> "int" 'J' -> "long" 'L' -> {