updating commons and target SDK to 31

This commit is contained in:
tibbi
2022-04-10 21:40:19 +02:00
parent 3ddde965eb
commit 4dcd1e901d
15 changed files with 85 additions and 78 deletions

View File

@ -6,9 +6,9 @@ import android.graphics.drawable.Drawable
import android.net.Uri
import com.simplemobiletools.commons.activities.BaseSimpleActivity
import com.simplemobiletools.commons.extensions.getColoredDrawableWithColor
import com.simplemobiletools.commons.extensions.getProperTextColor
import com.simplemobiletools.commons.helpers.KEY_PHONE
import com.simplemobiletools.contacts.pro.R
import com.simplemobiletools.contacts.pro.extensions.config
import com.simplemobiletools.contacts.pro.helpers.KEY_MAILTO
import com.simplemobiletools.contacts.pro.helpers.LOCATION_CONTACTS_TAB
import com.simplemobiletools.contacts.pro.helpers.LOCATION_FAVORITES_TAB
@ -70,7 +70,7 @@ open class SimpleActivity : BaseSimpleActivity() {
else -> R.drawable.ic_people_vector
}
return resources.getColoredDrawableWithColor(drawableId, config.textColor)
return resources.getColoredDrawableWithColor(drawableId, getProperTextColor())
}
protected fun getTabContentDescription(position: Int): String {