Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathandelaSen committed Oct 10, 2020
1 parent 9f55ddb commit 8984040
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ class SideBubbles : RelativeLayout {
addItem(id, icIcon, bgColor)
}

fun addItem(id: String, icIcon: Int, bgColor: Int) {
fun addItem(id: String, icIcon: Int, bgIconColor: Int) {
val item = SideBubblesItem(context)
item.set(icIcon, bgColor)
item.set(icIcon, bgIconColor)
item.tag = id
item.visibility = View.GONE

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ internal class SideBubblesButton : ConstraintLayout {
fun set(icColor: Int, bgColor: Int) {
ImageViewCompat.setImageTintList(sb_ivIcon, ColorStateList.valueOf(icColor));
//sb_vCircle.backgroundTintList = ContextCompat.getColorStateList(context, bgColor)
sb_vCircle.background.setTint(bgColor)
//sb_vCircle.background.setTint(bgColor)


//vBase.backgroundTintList = ContextCompat.getColorStateList(context, bgColor)
Expand Down

0 comments on commit 8984040

Please sign in to comment.