This commit is contained in:
LagradOst 2022-04-19 00:00:49 +02:00
parent fafc498df9
commit 615b81f600

View file

@ -58,6 +58,7 @@ enum class Qualities(var value: Int) {
companion object { companion object {
fun getStringByInt(qual: Int?): String { fun getStringByInt(qual: Int?): String {
return when (qual) { return when (qual) {
0 -> "Auto"
Unknown.value -> "" Unknown.value -> ""
P2160.value -> "4K" P2160.value -> "4K"
else -> "${qual}p" else -> "${qual}p"