Skip to content
Snippets Groups Projects
Commit 08dfa84c authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fix color of buffer icons

parent 3084237c
Branches
No related tags found
No related merge requests found
...@@ -251,8 +251,8 @@ class BufferListAdapter( ...@@ -251,8 +251,8 @@ class BufferListAdapter(
clickListener?.invoke(buffer) clickListener?.invoke(buffer)
} }
online = itemView.context.getCompatDrawable(R.drawable.ic_status) online = itemView.context.getCompatDrawable(R.drawable.ic_status).mutate()
offline = itemView.context.getCompatDrawable(R.drawable.ic_status_offline) offline = itemView.context.getCompatDrawable(R.drawable.ic_status_offline).mutate()
itemView.context.theme.styledAttributes( itemView.context.theme.styledAttributes(
R.attr.colorAccent, R.attr.colorAway, R.attr.colorAccent, R.attr.colorAway,
...@@ -326,8 +326,8 @@ class BufferListAdapter( ...@@ -326,8 +326,8 @@ class BufferListAdapter(
clickListener?.invoke(buffer) clickListener?.invoke(buffer)
} }
online = itemView.context.getCompatDrawable(R.drawable.ic_status_channel) online = itemView.context.getCompatDrawable(R.drawable.ic_status_channel).mutate()
offline = itemView.context.getCompatDrawable(R.drawable.ic_status_channel_offline) offline = itemView.context.getCompatDrawable(R.drawable.ic_status_channel_offline).mutate()
itemView.context.theme.styledAttributes( itemView.context.theme.styledAttributes(
R.attr.colorAccent, R.attr.colorAway, R.attr.colorAccent, R.attr.colorAway,
...@@ -402,9 +402,9 @@ class BufferListAdapter( ...@@ -402,9 +402,9 @@ class BufferListAdapter(
clickListener?.invoke(buffer) clickListener?.invoke(buffer)
} }
online = itemView.context.getCompatDrawable(R.drawable.ic_status) online = itemView.context.getCompatDrawable(R.drawable.ic_status).mutate()
away = itemView.context.getCompatDrawable(R.drawable.ic_status) away = itemView.context.getCompatDrawable(R.drawable.ic_status).mutate()
offline = itemView.context.getCompatDrawable(R.drawable.ic_status_offline) offline = itemView.context.getCompatDrawable(R.drawable.ic_status_offline).mutate()
itemView.context.theme.styledAttributes( itemView.context.theme.styledAttributes(
R.attr.colorAccent, R.attr.colorAway, R.attr.colorAccent, R.attr.colorAway,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment