cutthecord/patches/squareavatars/994.patch
Ave Ozkal c8c7520853
9.9.4
Had to rewrite spoilerimg related parts of supplemental as they moved okhttp3
code to discord's own codebase.

However, one benefit of this for us is that it now shows SPOILER_ while you're
uploading too.
2019-11-28 09:41:59 +03:00

21 lines
1.1 KiB
Diff

diff -crB from/res/values/styles.xml to/res/values/styles.xml
*** from/res/values/styles.xml 2019-11-26 10:48:43.946149741 +0300
--- to/res/values/styles.xml 2019-11-26 10:50:01.489825484 +0300
***************
*** 927,933 ****
<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>
--- 927,934 ----
<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>