consistent color to text and icon

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
sowjanyakch 2025-06-03 16:37:12 +02:00 committed by backportbot[bot]
parent 3b7bf2bbd4
commit 1af65a68d4
2 changed files with 3 additions and 0 deletions

View File

@ -1237,6 +1237,8 @@ class ChatActivity :
resources.getString(R.string.nc_conversation_auto_delete_notice),
retentionPeriod
)
viewThemeUtils.material.colorMaterialButtonPrimaryTonal(binding.conversationDeleteNotice
.findViewById<MaterialButton>(R.id.keep_button))
if (ConversationUtils.isParticipantOwnerOrModerator(currentConversation!!)) {
binding.conversationDeleteNotice.findViewById<MaterialButton>(R.id.delete_now_button).visibility =

View File

@ -39,6 +39,7 @@
android:textColor="@color/white"
app:icon="@drawable/ic_delete"
app:iconPadding="8dp"
app:iconTint="@color/white"
app:iconGravity="textStart"
android:backgroundTint="@color/nc_darkRed"
android:layout_marginEnd="16dp" />