Compare commits

..

1 commit

Author SHA1 Message Date
038d924a99
feat: discovery 2025-03-10 09:55:19 +08:00

View file

@ -2,8 +2,7 @@ package net.typeblog.lpac_jni
interface ProfileDownloadCallback {
companion object {
fun lookupStateFromProgress(progress: Int): DownloadState =
when (progress) {
fun lookupStateFromProgress(progress: Int): DownloadState = when (progress) {
0 -> DownloadState.Preparing
20 -> DownloadState.Connecting
40 -> DownloadState.Authenticating