From 282b25b665fd2fe9f7a596e3d6c9067ea540730c Mon Sep 17 00:00:00 2001 From: firelight <147925818+fire-light42@users.noreply.github.com> Date: Mon, 16 Dec 2024 05:48:25 +0100 Subject: [PATCH] fixed #1425 --- .../lagradost/cloudstream3/ui/subtitles/SubtitlesFragment.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/lagradost/cloudstream3/ui/subtitles/SubtitlesFragment.kt b/app/src/main/java/com/lagradost/cloudstream3/ui/subtitles/SubtitlesFragment.kt index ebd93df34a..d0183e4c9a 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/ui/subtitles/SubtitlesFragment.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/ui/subtitles/SubtitlesFragment.kt @@ -328,9 +328,10 @@ class SubtitlesFragment : DialogFragment() { subsSubtitleElevation.setFocusableInTv() subsSubtitleElevation.setOnClickListener { textView -> + // tbh this should not be a dialog if it has so many values val elevationTypes = listOf( 0 to textView.context.getString(R.string.none) - ) + (1..10).map { x -> + ) + (1..30).map { x -> val i = x * 10 i to "${i}dp" }