Improve: migrate to latest dependencies

This commit is contained in:
Kr328
2021-05-24 15:57:22 +08:00
parent 4f05ba1ac6
commit 27dc5395e0
31 changed files with 92 additions and 83 deletions

View File

@@ -218,7 +218,7 @@ object Clash {
return Channel<LogMessage>(32).apply {
Bridge.nativeSubscribeLogcat(object : LogcatInterface {
override fun received(jsonPayload: String) {
offer(Json.decodeFromString(LogMessage.serializer(), jsonPayload))
trySend(Json.decodeFromString(LogMessage.serializer(), jsonPayload))
}
})
}