This commit is contained in:
firelight
2024-12-16 05:48:25 +01:00
committed by GitHub
parent 5780827bb6
commit 282b25b665

View File

@ -328,9 +328,10 @@ class SubtitlesFragment : DialogFragment() {
subsSubtitleElevation.setFocusableInTv() subsSubtitleElevation.setFocusableInTv()
subsSubtitleElevation.setOnClickListener { textView -> subsSubtitleElevation.setOnClickListener { textView ->
// tbh this should not be a dialog if it has so many values
val elevationTypes = listOf( val elevationTypes = listOf(
0 to textView.context.getString(R.string.none) 0 to textView.context.getString(R.string.none)
) + (1..10).map { x -> ) + (1..30).map { x ->
val i = x * 10 val i = x * 10
i to "${i}dp" i to "${i}dp"
} }