mirror of
https://github.com/recloudstream/cloudstream.git
synced 2025-08-06 19:43:48 +08:00
fixed #1425
This commit is contained in:
@ -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"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user