forked from distok/cutthecord
Support guilds on squareavatars
This commit is contained in:
parent
38112bd90f
commit
839fac0839
1 changed files with 40 additions and 3 deletions
|
@ -1,6 +1,28 @@
|
|||
diff -crB from/res/values/styles.xml to/res/values/styles.xml
|
||||
*** from/res/values/styles.xml 2020-07-18 13:36:43.160000000 +0300
|
||||
--- to/res/values/styles.xml 2020-07-18 13:37:55.320000000 +0300
|
||||
Only in com.discord: build
|
||||
Only in com.discord: dist
|
||||
diff --color -crB com.discord-base/res/values/dimens.xml com.discord/res/values/dimens.xml
|
||||
*** com.discord-base/res/values/dimens.xml 2020-07-30 01:52:29.632994002 +0300
|
||||
--- com.discord/res/values/dimens.xml 2020-07-31 16:55:00.064324570 +0300
|
||||
***************
|
||||
*** 209,215 ****
|
||||
<dimen name="folder_guild_outer_margin">6.0dip</dimen>
|
||||
<dimen name="folder_guild_size">16.0dip</dimen>
|
||||
<dimen name="grid_item_padding">4.0dip</dimen>
|
||||
! <dimen name="guild_icon_radius">12.0dip</dimen>
|
||||
<dimen name="guild_item_size">54.0dip</dimen>
|
||||
<dimen name="guild_item_spacing">6.0dip</dimen>
|
||||
<dimen name="guild_list_size">72.0dip</dimen>
|
||||
--- 209,215 ----
|
||||
<dimen name="folder_guild_outer_margin">6.0dip</dimen>
|
||||
<dimen name="folder_guild_size">16.0dip</dimen>
|
||||
<dimen name="grid_item_padding">4.0dip</dimen>
|
||||
! <dimen name="guild_icon_radius">0.0dip</dimen>
|
||||
<dimen name="guild_item_size">54.0dip</dimen>
|
||||
<dimen name="guild_item_spacing">6.0dip</dimen>
|
||||
<dimen name="guild_list_size">72.0dip</dimen>
|
||||
diff --color -crB com.discord-base/res/values/styles.xml com.discord/res/values/styles.xml
|
||||
*** com.discord-base/res/values/styles.xml 2020-07-30 01:52:29.146324170 +0300
|
||||
--- com.discord/res/values/styles.xml 2020-07-31 16:56:36.665028155 +0300
|
||||
***************
|
||||
*** 1010,1016 ****
|
||||
<item name="actualImageScaleType">fitCenter</item>
|
||||
|
@ -19,3 +41,18 @@ diff -crB from/res/values/styles.xml to/res/values/styles.xml
|
|||
</style>
|
||||
<style name="Avatar.Chat" parent="@style/Avatar.Large">
|
||||
<item name="android:layout_width">@dimen/avatar_size_chat</item>
|
||||
diff --color -crB com.discord-base/smali/com/discord/widgets/guilds/list/GuildListViewHolder$GuildViewHolder.smali com.discord/smali/com/discord/widgets/guilds/list/GuildListViewHolder$GuildViewHolder.smali
|
||||
*** com.discord-base/smali/com/discord/widgets/guilds/list/GuildListViewHolder$GuildViewHolder.smali 2020-07-30 01:52:32.536346217 +0300
|
||||
--- com.discord/smali/com/discord/widgets/guilds/list/GuildListViewHolder$GuildViewHolder.smali 2020-07-31 17:02:38.907655437 +0300
|
||||
***************
|
||||
*** 1166,1171 ****
|
||||
--- 1166,1173 ----
|
||||
move-result v9
|
||||
|
||||
.line 14
|
||||
+ const v7, 0x1
|
||||
+
|
||||
invoke-direct {p0, v7, v8, v9}, Lcom/discord/widgets/guilds/list/GuildListViewHolder$GuildViewHolder;->configureGuildIconBackground(ZZZ)V
|
||||
|
||||
if-eqz v5, :cond_c
|
||||
|
||||
|
|
Loading…
Reference in a new issue