Implement squareavatars as xml patch

This commit is contained in:
clienthax 2021-08-10 20:01:12 +01:00
parent ec47b98061
commit f709704fce
2 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,9 @@
<diffs>
<diff file="res/values/dimens.xml">
<replace sel="/resources/dimen[@name='guild_icon_radius']/text()">0.0dp</replace>
</diff>
<diff file="res/values/styles.xml">
<replace sel="resources/style[@name='Avatar']/item[@name='roundAsCircle']/text()">false</replace>
<add pos="after" sel="resources/style[@name='Avatar']/item[@name='roundAsCircle']"><item name="roundedCornerRadius">3dp</item></add>
</diff>
</diffs>

View file

@ -0,0 +1,6 @@
## DisTok CutTheCord: Square Avatars Patch
This patch turns the circle avatars to their full square versions, letting you see the whole image.
A very small amount of rounding is applied to make it look a little better.