cutthecord/resources/patches/squareavatars/844.patch
2021-08-06 18:43:36 +01:00

22 lines
1.2 KiB
Diff

diff -crB -x dist -x build com.discord-844-base/res/values/styles.xml com.discord-844/res/values/styles.xml
*** com.discord-844-base/res/values/styles.xml 2019-02-08 11:20:03.574861520 +0300
--- com.discord-844/res/values/styles.xml 2019-02-08 11:28:12.553414647 +0300
***************
*** 825,831 ****
<item name="actualImageScaleType">fitCenter</item>
<item name="placeholderImage">@drawable/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>
--- 825,832 ----
<item name="actualImageScaleType">fitCenter</item>
<item name="placeholderImage">@drawable/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>