Compare commits

..

1 commit

Author SHA1 Message Date
9cd866f464
feat: discovery 2025-03-10 09:55:46 +08:00

View file

@ -2,7 +2,8 @@ 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