From 6684576de1c872882250bfc0bddd32247e0702cd Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Mon, 16 Oct 2023 15:02:01 +0200 Subject: [PATCH] Fix more missing functions (#718) 2cf9a407e80863fc12a4202490b19142264b7c2f --- .../kotlin/suwayomi/tachidesk/manga/impl/util/BytecodeEditor.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/main/kotlin/suwayomi/tachidesk/manga/impl/util/BytecodeEditor.kt b/server/src/main/kotlin/suwayomi/tachidesk/manga/impl/util/BytecodeEditor.kt index c5648b98..23e485ad 100644 --- a/server/src/main/kotlin/suwayomi/tachidesk/manga/impl/util/BytecodeEditor.kt +++ b/server/src/main/kotlin/suwayomi/tachidesk/manga/impl/util/BytecodeEditor.kt @@ -126,6 +126,8 @@ object BytecodeEditor { private val methodsToFix = mapOf( ("kotlin/time/Duration" to "getInWholeMilliseconds_impl") to "getInWholeMilliseconds-impl", + ("kotlin/Result" to "constructor_impl") to "constructor-impl", + ("kotlin/Result" to "isFailure_impl") to "isFailure-impl", ) /**