mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 03:29:28 +01:00
consistent color to text and icon
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
3b7bf2bbd4
commit
1af65a68d4
@ -1237,6 +1237,8 @@ class ChatActivity :
|
|||||||
resources.getString(R.string.nc_conversation_auto_delete_notice),
|
resources.getString(R.string.nc_conversation_auto_delete_notice),
|
||||||
retentionPeriod
|
retentionPeriod
|
||||||
)
|
)
|
||||||
|
viewThemeUtils.material.colorMaterialButtonPrimaryTonal(binding.conversationDeleteNotice
|
||||||
|
.findViewById<MaterialButton>(R.id.keep_button))
|
||||||
|
|
||||||
if (ConversationUtils.isParticipantOwnerOrModerator(currentConversation!!)) {
|
if (ConversationUtils.isParticipantOwnerOrModerator(currentConversation!!)) {
|
||||||
binding.conversationDeleteNotice.findViewById<MaterialButton>(R.id.delete_now_button).visibility =
|
binding.conversationDeleteNotice.findViewById<MaterialButton>(R.id.delete_now_button).visibility =
|
||||||
|
@ -39,6 +39,7 @@
|
|||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
app:icon="@drawable/ic_delete"
|
app:icon="@drawable/ic_delete"
|
||||||
app:iconPadding="8dp"
|
app:iconPadding="8dp"
|
||||||
|
app:iconTint="@color/white"
|
||||||
app:iconGravity="textStart"
|
app:iconGravity="textStart"
|
||||||
android:backgroundTint="@color/nc_darkRed"
|
android:backgroundTint="@color/nc_darkRed"
|
||||||
android:layout_marginEnd="16dp" />
|
android:layout_marginEnd="16dp" />
|
||||||
|
Loading…
Reference in New Issue
Block a user