Skip to content

Commit

Permalink
Fix banned users alignment in room settings
Browse files Browse the repository at this point in the history
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 #200

Change-Id: I9195df80a5dadb9e70799ed3dc49f5702335ac49
  • Loading branch information
SpiritCroc committed Jul 21, 2023
1 parent 92e9d9e commit 6120578
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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() }
)
}
Expand Down
12 changes: 12 additions & 0 deletions vector/src/main/res/drawable/ic_room_profile_banned_users.xml
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 6120578

Please sign in to comment.