mirror of
https://github.com/yggdrasil-network/crispa-android.git
synced 2025-01-22 16:06:30 +00:00
1. remove checkmarks fix
This commit is contained in:
parent
fd8742f513
commit
0c5a3b0f82
@ -57,7 +57,6 @@ class SelectPeerInfoListAdapter(
|
|||||||
peerInfoHolder.peerInfoText.setTextColor(Color.WHITE)
|
peerInfoHolder.peerInfoText.setTextColor(Color.WHITE)
|
||||||
}
|
}
|
||||||
peerInfoHolder.checkbox.setOnCheckedChangeListener { _, isChecked ->
|
peerInfoHolder.checkbox.setOnCheckedChangeListener { _, isChecked ->
|
||||||
if(!isLoading) {
|
|
||||||
if (isChecked) {
|
if (isChecked) {
|
||||||
if (!currentPeers.contains(currentPeer)) {
|
if (!currentPeers.contains(currentPeer)) {
|
||||||
currentPeers.add(currentPeer)
|
currentPeers.add(currentPeer)
|
||||||
@ -68,7 +67,6 @@ class SelectPeerInfoListAdapter(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
peerInfoHolder.checkbox.isChecked = this.currentPeers.contains(currentPeer)
|
peerInfoHolder.checkbox.isChecked = this.currentPeers.contains(currentPeer)
|
||||||
return listItem!!
|
return listItem!!
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user