Commit 5f7f365c authored by narinder Rana's avatar narinder Rana
Browse files

Merge branch '209-icons-color' into 'main'

update icon color

See merge request !56
parents 62f84205 6cc59293
Pipeline #179754 passed with stage
in 4 minutes and 51 seconds
......@@ -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()
......
......@@ -3,5 +3,5 @@
<color name="avatar_bg_color">#292929</color>
<color name="avatar_icon_color">#DEFFFFFF</color>
<color name="emphasis">#DEFFFFFF</color>
</resources>
\ No newline at end of file
......@@ -80,6 +80,7 @@
<color name="red_draft">#FF5D5D</color>
<color name="avatar_bg_color">#e0e0e0</color>
<color name="avatar_icon_color">#383838</color>
<color name="emphasis">#DE000000</color>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment