Skip to content

Commit

Permalink
Add an UNKNOWN VolumeUiState
Browse files Browse the repository at this point in the history
  • Loading branch information
laiyichin committed Feb 4, 2025
1 parent 2043339 commit f1cf28b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,8 @@ public data class VolumeUiState(

public val isMin: Boolean
get() = current == min

companion object {
val UNKNOWN = VolumeUiState(current = -1, max = -1, min = -1)
}
}

0 comments on commit f1cf28b

Please sign in to comment.