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