Compare commits
1 commit
9cd866f464
...
038d924a99
Author | SHA1 | Date | |
---|---|---|---|
038d924a99 |
1 changed files with 8 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue