bug fix
This commit is contained in:
parent
476220b3c6
commit
ecbaef754a
2 changed files with 6 additions and 3 deletions
|
|
@ -2232,8 +2232,11 @@ object UiUtil {
|
|||
val tmp = list.toMutableList()
|
||||
tmp.addAll(0, defaultSourceTitles.mapIndexed { index, s -> "${s}___${defaultSourceValues[index]}" })
|
||||
tmp.forEach { s ->
|
||||
val title = s.split("___")[0]
|
||||
val source = s.split("___")[1]
|
||||
val arr = s.split("___")
|
||||
if (arr.size < 2) return@forEach
|
||||
|
||||
val title = arr[0]
|
||||
val source = arr[1]
|
||||
val isEditable = !defaultSourceValues.contains(source)
|
||||
val child = LayoutInflater.from(context).inflate(R.layout.custom_ytdlp_source, null)
|
||||
child.findViewById<MaterialCardView>(R.id.sampleCustomSource).setOnClickListener {
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
app:layout_scrollFlags="scroll|enterAlways"
|
||||
android:layout_margin="10dp">
|
||||
android:layout_marginHorizontal="10dp">
|
||||
<HorizontalScrollView
|
||||
android:layout_width="wrap_content"
|
||||
android:scrollbars="none"
|
||||
|
|
|
|||
Loading…
Reference in a new issue