Explicitly showing status "not animated"
This commit is contained in:
parent
a9de5a0a71
commit
b75a3ca1d9
|
@ -114,7 +114,7 @@ class AudioFileModel(
|
||||||
}
|
}
|
||||||
override fun computeValue(): String {
|
override fun computeValue(): String {
|
||||||
return when (audioFileState.status) {
|
return when (audioFileState.status) {
|
||||||
AudioFileStatus.NotAnimated -> ""
|
AudioFileStatus.NotAnimated -> "Not animated"
|
||||||
AudioFileStatus.Pending -> "Waiting"
|
AudioFileStatus.Pending -> "Waiting"
|
||||||
AudioFileStatus.Animating -> "${((animationProgress ?: 0.0) * 100).toInt()}%"
|
AudioFileStatus.Animating -> "${((animationProgress ?: 0.0) * 100).toInt()}%"
|
||||||
AudioFileStatus.Canceling -> "Canceling"
|
AudioFileStatus.Canceling -> "Canceling"
|
||||||
|
|
Loading…
Reference in New Issue