Update compose bar style in qkreply

This commit is contained in:
Moez Bhatti
2018-03-28 17:26:10 -04:00
parent 7affdcd119
commit aeecaa9111
2 changed files with 12 additions and 30 deletions
@@ -66,12 +66,13 @@ class QkReplyActivity : QkThemedActivity<QkReplyViewModel>(), QkReplyView {
window.setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)
viewModel.bindView(this)
colors.background
.doOnNext { color -> background.setBackgroundTint(color) }
.doOnNext { color -> composeGradient.setBackgroundTint(color) }
.doOnNext { color -> composeBackground.setBackgroundTint(color) }
colors.composeBackground
.autoDisposable(scope())
.subscribe()
.subscribe { color -> background.setBackgroundTint(color) }
colors.bubble
.autoDisposable(scope())
.subscribe { color -> message.setBackgroundTint(color) }
theme
.autoDisposable(scope())