Remove nested apply usage

This commit is contained in:
Naveen 2023-08-22 15:11:05 +05:30
parent 8bc6659d71
commit 66be224b38
No known key found for this signature in database
GPG Key ID: 0E155DAD31671DA3
1 changed files with 3 additions and 5 deletions

View File

@ -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)