Loading presentation/src/main/java/com/moez/QKSMS/common/widget/AvatarView.kt +3 −2 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ import android.util.TypedValue import android.view.ContextThemeWrapper import android.view.View import android.widget.FrameLayout import androidx.core.content.ContextCompat import com.bumptech.glide.signature.ObjectKey import com.moez.QKSMS.R import com.moez.QKSMS.common.Navigator Loading @@ -36,6 +37,7 @@ import com.moez.QKSMS.model.Recipient import com.moez.QKSMS.util.GlideApp import com.moez.QKSMS.util.Preferences import kotlinx.android.synthetic.main.avatar_view.view.* import kotlinx.android.synthetic.main.compose_activity.* import javax.inject.Inject class AvatarView @JvmOverloads constructor( Loading Loading @@ -88,8 +90,7 @@ class AvatarView @JvmOverloads constructor( // Apply theme setBackgroundTint(theme.theme) initial.setTextColor(theme.textPrimary) icon.setTint(theme.textPrimary) icon.setTint(ContextCompat.getColor(context, R.color.colorPrimaryDark)) val initials = fullName ?.substringBefore(',') ?.split(" ").orEmpty() Loading Loading
presentation/src/main/java/com/moez/QKSMS/common/widget/AvatarView.kt +3 −2 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ import android.util.TypedValue import android.view.ContextThemeWrapper import android.view.View import android.widget.FrameLayout import androidx.core.content.ContextCompat import com.bumptech.glide.signature.ObjectKey import com.moez.QKSMS.R import com.moez.QKSMS.common.Navigator Loading @@ -36,6 +37,7 @@ import com.moez.QKSMS.model.Recipient import com.moez.QKSMS.util.GlideApp import com.moez.QKSMS.util.Preferences import kotlinx.android.synthetic.main.avatar_view.view.* import kotlinx.android.synthetic.main.compose_activity.* import javax.inject.Inject class AvatarView @JvmOverloads constructor( Loading Loading @@ -88,8 +90,7 @@ class AvatarView @JvmOverloads constructor( // Apply theme setBackgroundTint(theme.theme) initial.setTextColor(theme.textPrimary) icon.setTint(theme.textPrimary) icon.setTint(ContextCompat.getColor(context, R.color.colorPrimaryDark)) val initials = fullName ?.substringBefore(',') ?.split(" ").orEmpty() Loading