This repository has been archived on 2021-08-24. You can view files and clone it, but cannot push or open issues or pull requests.
cutthecord/patches/squareavatars/78204.patch

42 lines
2.1 KiB
Diff
Raw Normal View History

2021-05-31 13:21:06 +00:00
diff -crB fromres/values/dimens.xml to/res/values/dimens.xml
*** fromres/values/dimens.xml 2021-05-31 14:05:49.000000000 +0300
--- to/res/values/dimens.xml 2021-05-31 15:40:24.000000000 +0300
***************
*** 260,266 ****
<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>
--- 260,266 ----
<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 -crB fromres/values/styles.xml to/res/values/styles.xml
*** fromres/values/styles.xml 2021-05-31 14:05:50.000000000 +0300
--- to/res/values/styles.xml 2021-05-31 15:40:24.000000000 +0300
***************
*** 1274,1280 ****
<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>
--- 1274,1281 ----
<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>