cutthecordS/patches/squareavatars/853.patch

23 lines
1.2 KiB
Diff
Raw Normal View History

diff -crB -x dist -x build com.discord-848-base/res/values/styles.xml com.discord-848/res/values/styles.xml
*** com.discord-848-base/res/values/styles.xml 2019-02-17 12:23:56.084234586 +0300
--- com.discord-848/res/values/styles.xml 2019-02-17 12:37:45.411891228 +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>