diff --git a/presentation/src/main/java/feature/qkreply/QkReplyActivity.kt b/presentation/src/main/java/feature/qkreply/QkReplyActivity.kt index 5b987215..d45a5d1a 100644 --- a/presentation/src/main/java/feature/qkreply/QkReplyActivity.kt +++ b/presentation/src/main/java/feature/qkreply/QkReplyActivity.kt @@ -66,12 +66,13 @@ class QkReplyActivity : QkThemedActivity(), 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()) diff --git a/presentation/src/main/res/layout/qkreply_activity.xml b/presentation/src/main/res/layout/qkreply_activity.xml index aade3dd7..519beb2e 100644 --- a/presentation/src/main/res/layout/qkreply_activity.xml +++ b/presentation/src/main/res/layout/qkreply_activity.xml @@ -1,5 +1,4 @@ - -