diff --git a/app/src/main/java/com/github/miwu/MainApplication.kt b/app/src/main/java/com/github/miwu/MainApplication.kt index f7e6b82..3c5c057 100644 --- a/app/src/main/java/com/github/miwu/MainApplication.kt +++ b/app/src/main/java/com/github/miwu/MainApplication.kt @@ -41,7 +41,7 @@ class MainApplication : Application() { context = applicationContext } MiotManager.configBase64{ - Base64.encodeToString(it.toBytes(), Base64.DEFAULT) + Base64.encodeToString(it.toByteArray(), Base64.DEFAULT) } initClassList() CrashHandler.instance.init(this)