forked from distok/cutthecord
Update patches to v8.5.4
Fixed top bar. Unofficial v8.5.4 changelog: - Full implementation of news https://cdn.discordapp.com/attachments/448273769153298452/551511285582397471/Screenshot_20190303-000846.png - Fun placeholders such as <string name="premium_subtitle_mobile">Something that would a mobile user want to care about buying Nitro chat perks with the bonus of some free pc games.</string>
This commit is contained in:
parent
b8a50ce2e0
commit
4c3ff4ad3f
39 changed files with 6490 additions and 1 deletions
54
patches/noprofilestrip/854.patch
Normal file
54
patches/noprofilestrip/854.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
diff -crB -x dist -x build com.discord-844-base/smali/com/discord/widgets/user/WidgetUserProfileStrip.smali com.discord-844/smali/com/discord/widgets/user/WidgetUserProfileStrip.smali
|
||||
*** com.discord-844-base/smali/com/discord/widgets/user/WidgetUserProfileStrip.smali 2019-02-08 11:20:06.748207115 +0300
|
||||
--- com.discord-844/smali/com/discord/widgets/user/WidgetUserProfileStrip.smali 2019-02-08 11:42:20.176669306 +0300
|
||||
***************
|
||||
*** 428,442 ****
|
||||
|
||||
move-result-object v2
|
||||
|
||||
! invoke-virtual {p1}, Lcom/discord/widgets/user/WidgetUserProfileStrip$Model;->getUser()Lcom/discord/models/domain/ModelUser;
|
||||
!
|
||||
! move-result-object v3
|
||||
!
|
||||
! invoke-virtual {v3}, Lcom/discord/models/domain/ModelUser;->getUsername()Ljava/lang/String;
|
||||
!
|
||||
! move-result-object v3
|
||||
!
|
||||
! check-cast v3, Ljava/lang/CharSequence;
|
||||
|
||||
invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
||||
--- 428,434 ----
|
||||
|
||||
move-result-object v2
|
||||
|
||||
! const-string v3, ""
|
||||
|
||||
invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
||||
***************
|
||||
*** 445,459 ****
|
||||
|
||||
move-result-object v2
|
||||
|
||||
! invoke-virtual {p1}, Lcom/discord/widgets/user/WidgetUserProfileStrip$Model;->getUser()Lcom/discord/models/domain/ModelUser;
|
||||
!
|
||||
! move-result-object p1
|
||||
!
|
||||
! invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser;->getDiscriminatorWithPadding()Ljava/lang/String;
|
||||
!
|
||||
! move-result-object p1
|
||||
!
|
||||
! check-cast p1, Ljava/lang/CharSequence;
|
||||
|
||||
invoke-virtual {v2, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
||||
--- 437,443 ----
|
||||
|
||||
move-result-object v2
|
||||
|
||||
! const-string p1, ""
|
||||
|
||||
invoke-virtual {v2, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
||||
|
|
@ -13,4 +13,5 @@ This patch removes the "profile strip" from the left side menu, helping remove P
|
|||
- 8.5.0
|
||||
- 8.5.1
|
||||
- 8.5.3
|
||||
- 8.5.4
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue