Remove nested apply usage
This commit is contained in:
parent
8bc6659d71
commit
66be224b38
|
@ -640,12 +640,10 @@ class ThreadActivity : SimpleActivity() {
|
||||||
val textColor = getProperTextColor()
|
val textColor = getProperTextColor()
|
||||||
|
|
||||||
binding.messageHolder.apply {
|
binding.messageHolder.apply {
|
||||||
threadSendMessage.apply {
|
threadSendMessage.setTextColor(textColor)
|
||||||
setTextColor(textColor)
|
threadSendMessage.compoundDrawables.forEach {
|
||||||
compoundDrawables.forEach {
|
|
||||||
it?.applyColorFilter(textColor)
|
it?.applyColorFilter(textColor)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
confirmManageContacts.applyColorFilter(textColor)
|
confirmManageContacts.applyColorFilter(textColor)
|
||||||
threadAddAttachment.applyColorFilter(textColor)
|
threadAddAttachment.applyColorFilter(textColor)
|
||||||
|
|
Loading…
Reference in New Issue