From f4c4e00a44eaefafa8f286457c84170414aaf8f6 Mon Sep 17 00:00:00 2001 From: ThomasSession Date: Thu, 22 Aug 2024 16:37:11 +1000 Subject: [PATCH] Tweaks --- .../securesms/conversation/v2/MessageDetailActivity.kt | 2 +- .../securesms/preferences/SettingsActivity.kt | 2 +- app/src/main/res/drawable/ic_delete.xml | 9 +++++++++ app/src/main/res/drawable/ic_message_details__trash.xml | 9 --------- .../main/res/drawable/media_camera_button_background.xml | 7 +------ .../main/res/drawable/media_count_button_background.xml | 1 + 6 files changed, 13 insertions(+), 17 deletions(-) create mode 100644 app/src/main/res/drawable/ic_delete.xml delete mode 100644 app/src/main/res/drawable/ic_message_details__trash.xml diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/MessageDetailActivity.kt b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/MessageDetailActivity.kt index 9514552d28..b6f9e148b5 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/MessageDetailActivity.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/MessageDetailActivity.kt @@ -235,7 +235,7 @@ fun CellButtons( } LargeItemButton( R.string.delete, - R.drawable.ic_message_details__trash, + R.drawable.ic_delete, colors = dangerButtonColors(), onClick = onDelete ) diff --git a/app/src/main/java/org/thoughtcrime/securesms/preferences/SettingsActivity.kt b/app/src/main/java/org/thoughtcrime/securesms/preferences/SettingsActivity.kt index fc52541987..ce86ce8381 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/preferences/SettingsActivity.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/preferences/SettingsActivity.kt @@ -518,7 +518,7 @@ class SettingsActivity : PassphraseRequiredActionBarActivity() { } LargeItemButton(R.string.activity_settings_help_button, R.drawable.ic_help, Modifier.contentDescription(R.string.AccessibilityId_help)) { show() } Divider() - LargeItemButton(R.string.activity_settings_clear_all_data_button_title, R.drawable.ic_message_details__trash, Modifier.contentDescription(R.string.AccessibilityId_clear_data), dangerButtonColors()) { ClearAllDataDialog().show(supportFragmentManager, "Clear All Data Dialog") } + LargeItemButton(R.string.activity_settings_clear_all_data_button_title, R.drawable.ic_delete, Modifier.contentDescription(R.string.AccessibilityId_clear_data), dangerButtonColors()) { ClearAllDataDialog().show(supportFragmentManager, "Clear All Data Dialog") } } } } diff --git a/app/src/main/res/drawable/ic_delete.xml b/app/src/main/res/drawable/ic_delete.xml new file mode 100644 index 0000000000..1a3e8b4001 --- /dev/null +++ b/app/src/main/res/drawable/ic_delete.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_message_details__trash.xml b/app/src/main/res/drawable/ic_message_details__trash.xml deleted file mode 100644 index 85d4216958..0000000000 --- a/app/src/main/res/drawable/ic_message_details__trash.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/media_camera_button_background.xml b/app/src/main/res/drawable/media_camera_button_background.xml index d0c63b6d00..c60e199823 100644 --- a/app/src/main/res/drawable/media_camera_button_background.xml +++ b/app/src/main/res/drawable/media_camera_button_background.xml @@ -2,15 +2,10 @@ - - - - - - + \ No newline at end of file diff --git a/app/src/main/res/drawable/media_count_button_background.xml b/app/src/main/res/drawable/media_count_button_background.xml index 73c91ccefb..40e8c4ebb6 100644 --- a/app/src/main/res/drawable/media_count_button_background.xml +++ b/app/src/main/res/drawable/media_count_button_background.xml @@ -6,6 +6,7 @@ + \ No newline at end of file