update commons to 3.3.12
This commit is contained in:
parent
f055a82bea
commit
75411c43d4
|
@ -36,7 +36,7 @@ ext {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.simplemobiletools:commons:3.2.20'
|
||||
implementation 'com.simplemobiletools:commons:3.3.12'
|
||||
|
||||
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion"
|
||||
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion"
|
||||
|
|
|
@ -115,9 +115,9 @@ class ContactActivity : SimpleActivity() {
|
|||
contact_number_image.applyColorFilter(textColor)
|
||||
contact_email_image.applyColorFilter(textColor)
|
||||
contact_source_image.applyColorFilter(textColor)
|
||||
contact_number_add_new.applyColorFilter(config.primaryColor)
|
||||
contact_number_add_new.applyColorFilter(getAdjustedPrimaryColor())
|
||||
contact_number_add_new.background.applyColorFilter(textColor)
|
||||
contact_email_add_new.applyColorFilter(config.primaryColor)
|
||||
contact_email_add_new.applyColorFilter(getAdjustedPrimaryColor())
|
||||
contact_email_add_new.background.applyColorFilter(textColor)
|
||||
|
||||
contact_photo.setOnClickListener { }
|
||||
|
|
|
@ -4,6 +4,7 @@ import android.support.v7.widget.RecyclerView
|
|||
import android.util.SparseArray
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import com.simplemobiletools.commons.extensions.getAdjustedPrimaryColor
|
||||
import com.simplemobiletools.commons.interfaces.MyAdapterListener
|
||||
import com.simplemobiletools.contacts.R
|
||||
import com.simplemobiletools.contacts.activities.SimpleActivity
|
||||
|
@ -68,7 +69,7 @@ class FilterContactSourcesAdapter(val activity: SimpleActivity, val contactSourc
|
|||
class ViewHolder(view: View, val adapterListener: MyAdapterListener, val activity: SimpleActivity) : RecyclerView.ViewHolder(view) {
|
||||
fun bindView(contactSource: String): View {
|
||||
itemView.apply {
|
||||
filter_contact_source_checkbox.setColors(activity.config.textColor, activity.config.primaryColor, activity.config.backgroundColor)
|
||||
filter_contact_source_checkbox.setColors(activity.config.textColor, activity.getAdjustedPrimaryColor(), activity.config.backgroundColor)
|
||||
filter_contact_source_checkbox.text = contactSource
|
||||
filter_contact_source_holder.setOnClickListener { viewClicked(!filter_contact_source_checkbox.isChecked) }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue