cutthecord/patches/squareavatars/81111.patch
2021-07-28 15:48:08 +00:00

41 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
***************
*** 261,267 ****
<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>
--- 261,267 ----
<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
***************
*** 1281,1287 ****
<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>
--- 1281,1288 ----
<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>