Fix noprofilestrip

This commit is contained in:
ave 2019-10-01 23:19:52 +03:00
parent 98ea01add9
commit 7a7055a66d
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B
3 changed files with 10 additions and 67 deletions

View file

@ -1,55 +0,0 @@
diff -crB com.discord-910-base/smali/com/discord/widgets/user/WidgetUserProfileStrip.smali com.discord-910/smali/com/discord/widgets/user/WidgetUserProfileStrip.smali
*** com.discord-910-base/smali/com/discord/widgets/user/WidgetUserProfileStrip.smali 2019-06-25 14:39:18.242542912 +0300
--- com.discord-910/smali/com/discord/widgets/user/WidgetUserProfileStrip.smali 2019-06-25 14:44:50.891235106 +0300
***************
*** 440,454 ****
move-result-object v2
! invoke-virtual {p1}, Lcom/discord/widgets/user/WidgetUserProfileStrip$Model;->getUser()Lcom/discord/models/domain/ModelUser;
!
! move-result-object v4
!
! invoke-virtual {v4}, Lcom/discord/models/domain/ModelUser;->getUsername()Ljava/lang/String;
!
! move-result-object v4
!
! check-cast v4, Ljava/lang/CharSequence;
invoke-virtual {v2, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
--- 440,446 ----
move-result-object v2
! const-string v4, ""
invoke-virtual {v2, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
***************
*** 457,471 ****
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
--- 449,455 ----
move-result-object v2
! const-string p1, ""
invoke-virtual {v2, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
Only in com.discord-910/smali/com/discord/widgets/user: WidgetUserProfileStrip.smali.orig
Only in com.discord-910/smali/com/discord/widgets/user: WidgetUserProfileStrip.smali.rej

View file

@ -1,12 +1,12 @@
diff -crB com.discord-910-base/smali/com/discord/widgets/user/WidgetUserProfileStrip.smali com.discord-910/smali/com/discord/widgets/user/WidgetUserProfileStrip.smali
*** com.discord-910-base/smali/com/discord/widgets/user/WidgetUserProfileStrip.smali 2019-06-25 14:39:18.242542912 +0300
--- com.discord-910/smali/com/discord/widgets/user/WidgetUserProfileStrip.smali 2019-06-25 14:44:50.891235106 +0300
diff -crB com.discord-964-base/smali/com/discord/widgets/user/profile/WidgetUserProfileStrip.smali com.discord-964/smali/com/discord/widgets/user/profile/WidgetUserProfileStrip.smali
*** com.discord-964-base/smali/com/discord/widgets/user/profile/WidgetUserProfileStrip.smali 2019-10-01 23:18:34.424827650 +0300
--- com.discord-964/smali/com/discord/widgets/user/profile/WidgetUserProfileStrip.smali 2019-10-01 23:18:09.171329729 +0300
***************
*** 440,454 ****
*** 426,440 ****
move-result-object v2
! invoke-virtual {p1}, Lcom/discord/widgets/user/WidgetUserProfileStrip$Model;->getUser()Lcom/discord/models/domain/ModelUser;
! invoke-virtual {p1}, Lcom/discord/widgets/user/profile/WidgetUserProfileStrip$Model;->getUser()Lcom/discord/models/domain/ModelUser;
!
! move-result-object v4
!
@ -18,7 +18,7 @@ diff -crB com.discord-910-base/smali/com/discord/widgets/user/WidgetUserProfileS
invoke-virtual {v2, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
--- 440,446 ----
--- 426,432 ----
move-result-object v2
@ -27,11 +27,11 @@ diff -crB com.discord-910-base/smali/com/discord/widgets/user/WidgetUserProfileS
invoke-virtual {v2, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
***************
*** 457,471 ****
*** 443,457 ****
move-result-object v2
! invoke-virtual {p1}, Lcom/discord/widgets/user/WidgetUserProfileStrip$Model;->getUser()Lcom/discord/models/domain/ModelUser;
! invoke-virtual {p1}, Lcom/discord/widgets/user/profile/WidgetUserProfileStrip$Model;->getUser()Lcom/discord/models/domain/ModelUser;
!
! move-result-object p1
!
@ -43,7 +43,7 @@ diff -crB com.discord-910-base/smali/com/discord/widgets/user/WidgetUserProfileS
invoke-virtual {v2, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
--- 449,455 ----
--- 435,441 ----
move-result-object v2
@ -51,5 +51,4 @@ diff -crB com.discord-910-base/smali/com/discord/widgets/user/WidgetUserProfileS
invoke-virtual {v2, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
Only in com.discord-910/smali/com/discord/widgets/user: WidgetUserProfileStrip.smali.orig
Only in com.discord-910/smali/com/discord/widgets/user: WidgetUserProfileStrip.smali.rej

View file

@ -40,6 +40,5 @@ This patch removes the "profile strip" from the left side menu, helping remove P
- 9.4.6
- 9.4.7
- 9.4.8
- 9.6.3
- 9.6.4