mirror of
https://github.com/karasevm/PrivateDNSAndroid.git
synced 2025-06-28 12:19:57 +00:00
Fix label not appearing sometimes
This commit is contained in:
parent
66a83b3dac
commit
a6ed85e2c8
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ class RecyclerAdapter(private val items: MutableList<String>, private val showDr
|
||||||
val item = items[position]
|
val item = items[position]
|
||||||
val parts = item.split(" : ")
|
val parts = item.split(" : ")
|
||||||
if (parts.size == 2) {
|
if (parts.size == 2) {
|
||||||
|
holder.labelTextView.visibility = View.VISIBLE
|
||||||
holder.labelTextView.text = parts[0]
|
holder.labelTextView.text = parts[0]
|
||||||
holder.textView.text = parts[1]
|
holder.textView.text = parts[1]
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue