Enable initialization on 32bit android devices

This commit is contained in:
Ugljesa Jovanovic committed 2022-05-19 16:52:27 +02:00
1 parent 87652f7014
commit 6a47f7d90b
3 files changed
+5 -9

No files matched your search

@@ -29,12 +29,7 @@ actual object LibsodiumInitializer {
SharedLibraryLoader.get().load("dynamic-msvc-x86-64-libsodium.dll", JnaLibsodiumInterface::class.java)
}
Platform.isAndroid() -> {
when {
Platform.is64Bit() -> {
File("irrelevant")
}
else -> throw RuntimeException("Unsupported platform")
}
File("irrelevant")
}
else -> throw RuntimeException("Unknown platform")