Skip to content
Snippets Groups Projects
Commit 8bb0b36d authored by Pierre Nicolas's avatar Pierre Nicolas :joy: Committed by Adrien Béraud
Browse files

details: remove conversation color from appbar

New design don't include the conversation color in the appbar anymore.

GitLab: #1723
Change-Id: I06dbd75e9bef5063ed5f14cfcbd3321a2c2cad85
parent f5ec8578
No related branches found
No related tags found
No related merge requests found
......@@ -235,14 +235,6 @@ class ContactDetailsActivity : AppCompatActivity(), ContactPickerFragment.OnCont
binding.back.setOnClickListener { onBackPressedDispatcher.onBackPressed() }
binding.addMember.setOnClickListener { ContactPickerFragment(conversation.contacts).show(supportFragmentManager, ContactPickerFragment.TAG) }
// Update color on RX color signal.
mDisposableBag.add(conversation.getColor()
.observeOn(DeviceUtils.uiScheduler)
.subscribe {
binding.appBar.backgroundTintList = ColorStateList.valueOf(getConversationColor(this, it))
}
)
}
private fun profileImageClicked() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment