Fix light theme by making checkboxes visible
This commit is contained in:
parent
968f4206cc
commit
8ccfbefbe0
@ -130,7 +130,7 @@ class GeolocListAdapter(
|
||||
}
|
||||
|
||||
private fun refreshCheck(geoLoc: GeoLoc){
|
||||
val col = groups!!.getGroupFromKey(visits!!.getVisited(geoLoc))?.color?.color?:Color.WHITE
|
||||
val col = groups!!.getGroupFromKey(visits!!.getVisited(geoLoc))?.color?.color?:Color.GRAY
|
||||
checkBox.checkedState =
|
||||
if (visits!!.getVisited(geoLoc)!=0) MaterialCheckBox.STATE_CHECKED
|
||||
else if (geoLoc.children.any { visits!!.getVisited(it)!=0 }) MaterialCheckBox.STATE_INDETERMINATE
|
||||
|
Loading…
x
Reference in New Issue
Block a user