From 1d36269b03f22db6b6b9e1195b3df04753a1a484 Mon Sep 17 00:00:00 2001 From: ariskotsomitopoulos Date: Fri, 27 May 2022 13:40:53 +0300 Subject: [PATCH 1/2] Fix wrong rendered vector icon --- .../ic_thread_view_in_room_menu_item.xml | 30 ------------------- .../drawable/ic_threads_view_in_room_24.xml | 22 ++++++++++++++ vector/src/main/res/menu/menu_timeline.xml | 2 +- 3 files changed, 23 insertions(+), 31 deletions(-) delete mode 100644 vector/src/main/res/drawable/ic_thread_view_in_room_menu_item.xml create mode 100644 vector/src/main/res/drawable/ic_threads_view_in_room_24.xml diff --git a/vector/src/main/res/drawable/ic_thread_view_in_room_menu_item.xml b/vector/src/main/res/drawable/ic_thread_view_in_room_menu_item.xml deleted file mode 100644 index f408f99713..0000000000 --- a/vector/src/main/res/drawable/ic_thread_view_in_room_menu_item.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - diff --git a/vector/src/main/res/drawable/ic_threads_view_in_room_24.xml b/vector/src/main/res/drawable/ic_threads_view_in_room_24.xml new file mode 100644 index 0000000000..4b73f5c389 --- /dev/null +++ b/vector/src/main/res/drawable/ic_threads_view_in_room_24.xml @@ -0,0 +1,22 @@ + + + + + + diff --git a/vector/src/main/res/menu/menu_timeline.xml b/vector/src/main/res/menu/menu_timeline.xml index 8b1ea02a4a..5c35540932 100644 --- a/vector/src/main/res/menu/menu_timeline.xml +++ b/vector/src/main/res/menu/menu_timeline.xml @@ -72,7 +72,7 @@ From 21225b8a284817dcd2657eaa09ca281db7f3e17a Mon Sep 17 00:00:00 2001 From: ariskotsomitopoulos Date: Fri, 27 May 2022 13:56:52 +0300 Subject: [PATCH 2/2] Replace old drawable from --- .../home/room/detail/timeline/action/EventSharedAction.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/action/EventSharedAction.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/action/EventSharedAction.kt index 5f12c2f174..e3b10ef8c6 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/action/EventSharedAction.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/action/EventSharedAction.kt @@ -52,7 +52,7 @@ sealed class EventSharedAction(@StringRes val titleRes: Int, EventSharedAction(R.string.reply_in_thread, R.drawable.ic_reply_in_thread) object ViewInRoom : - EventSharedAction(R.string.view_in_room, R.drawable.ic_thread_view_in_room_menu_item) + EventSharedAction(R.string.view_in_room, R.drawable.ic_threads_view_in_room_24) data class Share(val eventId: String, val messageContent: MessageContent) : EventSharedAction(R.string.action_share, R.drawable.ic_share)