From 61205787a8081a51ce1a5eb6a43539fea4e4d5eb Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Fri, 21 Jul 2023 15:24:05 +0200 Subject: [PATCH] Fix banned users alignment in room settings Use new "labs" icon from Element, that we have changed back to the old one for settings - but since it's a bit too big (even upstream), fix width/height in addition. Fixes https://github.com/SchildiChat/SchildiChat-android/issues/200 Change-Id: I9195df80a5dadb9e70799ed3dc49f5702335ac49 --- .../features/roomprofile/RoomProfileController.kt | 2 +- .../res/drawable/ic_room_profile_banned_users.xml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 vector/src/main/res/drawable/ic_room_profile_banned_users.xml diff --git a/vector/src/main/java/im/vector/app/features/roomprofile/RoomProfileController.kt b/vector/src/main/java/im/vector/app/features/roomprofile/RoomProfileController.kt index f96506db870..f8c799e938d 100644 --- a/vector/src/main/java/im/vector/app/features/roomprofile/RoomProfileController.kt +++ b/vector/src/main/java/im/vector/app/features/roomprofile/RoomProfileController.kt @@ -264,7 +264,7 @@ class RoomProfileController @Inject constructor( buildProfileAction( id = "banned_list", title = stringProvider.getString(R.string.room_settings_banned_users_title), - icon = R.drawable.ic_settings_root_labs, + icon = R.drawable.ic_room_profile_banned_users, action = { callback?.onBannedMemberListClicked() } ) } diff --git a/vector/src/main/res/drawable/ic_room_profile_banned_users.xml b/vector/src/main/res/drawable/ic_room_profile_banned_users.xml new file mode 100644 index 00000000000..3a6c6f648c9 --- /dev/null +++ b/vector/src/main/res/drawable/ic_room_profile_banned_users.xml @@ -0,0 +1,12 @@ + + + +