diff --git a/presentation/src/main/java/com/moez/QKSMS/feature/compose/editing/ComposeItemAdapter.kt b/presentation/src/main/java/com/moez/QKSMS/feature/compose/editing/ComposeItemAdapter.kt index 2681d520b43b9cd7753a830123e551459d3654fc..4c17fab585880e2fb0444b3b1b0187019c88b812 100644 --- a/presentation/src/main/java/com/moez/QKSMS/feature/compose/editing/ComposeItemAdapter.kt +++ b/presentation/src/main/java/com/moez/QKSMS/feature/compose/editing/ComposeItemAdapter.kt @@ -18,8 +18,10 @@ */ package com.moez.QKSMS.feature.compose.editing +import android.graphics.PorterDuff import android.view.LayoutInflater import android.view.ViewGroup +import androidx.core.content.ContextCompat import androidx.core.view.isVisible import androidx.recyclerview.widget.RecyclerView import com.moez.QKSMS.R @@ -63,7 +65,8 @@ class ComposeItemAdapter @Inject constructor( val layoutInflater = LayoutInflater.from(parent.context) val view = layoutInflater.inflate(R.layout.contact_list_item, parent, false) - view.icon.setTint(colors.theme().theme) + view.icon.setColorFilter(ContextCompat.getColor(parent.context, R.color.emphasis)); + view.index.setTextColor(ContextCompat.getColor(parent.context, R.color.emphasis)) view.numbers.setRecycledViewPool(numbersViewPool) view.numbers.adapter = PhoneNumberAdapter() diff --git a/presentation/src/main/res/values-night/colors.xml b/presentation/src/main/res/values-night/colors.xml index 86aa2c1f2dd086a34732e4c2cacfec6f0c72f53a..f1996c4205f257838ed43ebb5f5a4584b09c62f9 100644 --- a/presentation/src/main/res/values-night/colors.xml +++ b/presentation/src/main/res/values-night/colors.xml @@ -3,5 +3,5 @@ #292929 #DEFFFFFF - + #DEFFFFFF \ No newline at end of file diff --git a/presentation/src/main/res/values/colors.xml b/presentation/src/main/res/values/colors.xml index 25518ce336b67e82639aefdac1e762b9aace7f71..2eb68b3d4e58a578d349b2a7c8351f81d2405e0b 100644 --- a/presentation/src/main/res/values/colors.xml +++ b/presentation/src/main/res/values/colors.xml @@ -80,6 +80,7 @@ #FF5D5D #e0e0e0 #383838 + #DE000000