mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-17 03:51:03 +01:00
space correction
This commit is contained in:
parent
7f382311ea
commit
bdb9fd47b8
@ -62,8 +62,8 @@ class FilterContactSourcesAdapter(
|
|||||||
itemView.apply {
|
itemView.apply {
|
||||||
filter_contact_source_checkbox.isChecked = isSelected
|
filter_contact_source_checkbox.isChecked = isSelected
|
||||||
filter_contact_source_checkbox.setColors(activity.getProperTextColor(), activity.getProperPrimaryColor(), activity.getProperBackgroundColor())
|
filter_contact_source_checkbox.setColors(activity.getProperTextColor(), activity.getProperPrimaryColor(), activity.getProperBackgroundColor())
|
||||||
val countText = if (contactSource.count > 0) "(${contactSource.count})" else ""
|
val countText = if (contactSource.count > 0) " (${contactSource.count})" else ""
|
||||||
val displayName = "${contactSource.publicName} $countText"
|
val displayName = "${contactSource.publicName}$countText"
|
||||||
filter_contact_source_checkbox.text = displayName
|
filter_contact_source_checkbox.text = displayName
|
||||||
filter_contact_source_holder.setOnClickListener { viewClicked(!isSelected, contactSource) }
|
filter_contact_source_holder.setOnClickListener { viewClicked(!isSelected, contactSource) }
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user