forked from distok/cutthecord
squareavatars: add patch
This commit is contained in:
parent
7d47f603a0
commit
575d4037cf
2 changed files with 30 additions and 0 deletions
21
patches/squareavatars/835.patch
Normal file
21
patches/squareavatars/835.patch
Normal file
|
@ -0,0 +1,21 @@
|
|||
*** com.discord-835-base/res/values/styles.xml 2019-01-25 10:57:34.429248557 +0300
|
||||
--- com.discord-835/res/values/styles.xml 2019-01-28 16:51:28.771000850 +0300
|
||||
***************
|
||||
*** 809,815 ****
|
||||
<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>
|
||||
--- 809,816 ----
|
||||
<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>
|
||||
|
9
patches/squareavatars/README.md
Normal file
9
patches/squareavatars/README.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
## DisTok CutTheCord: Square Avatars Patch
|
||||
|
||||
This patch turns the circle avatars to their full square versions, letting you see the whole image.
|
||||
|
||||
A very small amount of rounding is applied to make it look a little better.
|
||||
|
||||
#### Available and tested on:
|
||||
- 8.3.5g
|
||||
|
Loading…
Reference in a new issue