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/resources/old-patches/squareavatars/854.patch

23 lines
1.2 KiB
Diff
Raw Normal View History

diff -crB -x dist -x build com.discord-854-base/res/values/styles.xml com.discord-854/res/values/styles.xml
*** com.discord-854-base/res/values/styles.xml 2019-03-03 19:12:52.365781975 +0300
--- com.discord-854/res/values/styles.xml 2019-03-03 19:17:33.073807444 +0300
***************
*** 827,833 ****
<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>
--- 827,834 ----
<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>