mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
Update compose bar style in qkreply
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user