mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 11:38:51 +01:00
Fixed icon and letter color for avatar in conversation
This commit is contained in:
@@ -73,9 +73,13 @@ class AvatarView @JvmOverloads constructor(context: Context, attrs: AttributeSet
|
||||
.autoDisposable(scope())
|
||||
.subscribe { color -> background.setTint(color) }
|
||||
|
||||
colors.textPrimaryOnTheme
|
||||
.autoDisposable(scope())
|
||||
.subscribe { color -> icon.setTint(color) }
|
||||
colors.textPrimaryOnThemeForConversation(threadId).let { observable ->
|
||||
initial.textColorObservable = observable
|
||||
|
||||
observable
|
||||
.autoDisposable(scope())
|
||||
.subscribe { color -> icon.setTint(color) }
|
||||
}
|
||||
|
||||
clicks()
|
||||
.autoDisposable(scope())
|
||||
|
||||
Reference in New Issue
Block a user