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
This commit is contained in:
SpiritCroc 2023-07-21 15:24:05 +02:00
parent 92e9d9e747
commit 61205787a8
2 changed files with 13 additions and 1 deletions

View file

@ -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() }
)
}

View file

@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="25"
android:viewportHeight="25">
<path
android:pathData="M5.25,22.5C4.5596,22.5 4,21.9404 4,21.25V12.8687C4,12.6622 4.275,12.5 4.625,12.5H5.875C6.225,12.5 6.5,12.6622 6.5,12.8687V21.25C6.5,21.9404 5.9404,22.5 5.25,22.5Z"
android:fillColor="#000000"/>
<path
android:pathData="M7.3481,2.5C4.8899,2.5 4.0004,4.1544 4.0004,5.1811V15.9785H5.8277C9.6771,14.2291 13.4294,17.5377 17.3919,17.4997C21.3545,17.4616 21.5,15.3319 21.5,14.267V5.7136C21.5,2.2337 19.0904,5.5804 14.9982,4.2304C11.4458,3.0584 10.8053,2.5 7.3481,2.5Z"
android:fillColor="#000000"/>
</vector>