Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7dc92cbc authored by narinder Rana's avatar narinder Rana
Browse files

change Avatar text color day_night

parent af599567
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -89,7 +89,7 @@ class AvatarView @JvmOverloads constructor(
    private fun updateView() {
    private fun updateView() {
        // Apply theme
        // Apply theme
        setBackgroundTint(theme.theme)
        setBackgroundTint(theme.theme)
        initial.setTextColor(theme.textPrimary)
        initial.setTextColor(ContextCompat.getColor(context, R.color.colorPrimaryDark))
        icon.setTint(ContextCompat.getColor(context, R.color.colorPrimaryDark))
        icon.setTint(ContextCompat.getColor(context, R.color.colorPrimaryDark))
        val initials = fullName
        val initials = fullName
                ?.substringBefore(',')
                ?.substringBefore(',')