cutthecord/patches/squareavatars/87202.patch
2021-08-04 19:12:54 +00:00

42 lines
2.1 KiB
Diff

diff --color -crB com.discord-base/res/values/dimens.xml com.discord-mod/res/values/dimens.xml
*** com.discord-base/res/values/dimens.xml 2021-06-01 17:16:48.949260510 +0000
--- com.discord/res/values/dimens.xml 2021-06-01 22:31:55.552836411 +0000
***************
*** 262,268 ****
<dimen name="folder_guild_outer_margin">6.0dip</dimen>
<dimen name="folder_guild_size">16.0dip</dimen>
<dimen name="grid_item_padding">4.0dip</dimen>
! <dimen name="guild_icon_radius">12.0dip</dimen>
<dimen name="guild_item_size">54.0dip</dimen>
<dimen name="guild_item_spacing">6.0dip</dimen>
<dimen name="guild_list_size">72.0dip</dimen>
--- 262,268 ----
<dimen name="folder_guild_outer_margin">6.0dip</dimen>
<dimen name="folder_guild_size">16.0dip</dimen>
<dimen name="grid_item_padding">4.0dip</dimen>
! <dimen name="guild_icon_radius">0.0dip</dimen>
<dimen name="guild_item_size">54.0dip</dimen>
<dimen name="guild_item_spacing">6.0dip</dimen>
<dimen name="guild_list_size">72.0dip</dimen>
diff --color -crB com.discord-base/res/values/styles.xml com.discord/res/values/styles.xml
*** com.discord-base/res/values/styles.xml 2021-06-01 17:16:48.953260531 +0000
--- com.discord/res/values/styles.xml 2021-06-01 22:36:04.570193047 +0000
***************
*** 1133,1139 ****
<item name="actualImageScaleType">fitCenter</item>
<item name="placeholderImage">?asset_default_avatar_32dp</item>
<item name="placeholderImageScaleType">fitCenter</item>
! <item name="roundAsCircle">true</item>
</style>
<style name="Avatar.Chat" parent="@style/Avatar.Large">
<item name="android:layout_width">@dimen/avatar_size_chat</item>
--- 1133,1140 ----
<item name="actualImageScaleType">fitCenter</item>
<item name="placeholderImage">?asset_default_avatar_32dp</item>
<item name="placeholderImageScaleType">fitCenter</item>
! <item name="roundAsCircle">false</item>
! <item name="roundedCornerRadius">3dp</item>
</style>
<style name="Avatar.Chat" parent="@style/Avatar.Large">
<item name="android:layout_width">@dimen/avatar_size_chat</item>