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,11 +640,9 @@ class ThreadActivity : SimpleActivity() {
val textColor = getProperTextColor()
binding.messageHolder.apply {
threadSendMessage.apply {
setTextColor(textColor)
compoundDrawables.forEach {
it?.applyColorFilter(textColor)
}
threadSendMessage.setTextColor(textColor)
threadSendMessage.compoundDrawables.forEach {
it?.applyColorFilter(textColor)
}
confirmManageContacts.applyColorFilter(textColor)