This repository has been archived on 2021-08-24. You can view files and clone it, but cannot push or open issues or pull requests.
cutthecord/resources/old-patches/noprofilestrip/1011.patch
2021-08-06 18:43:36 +01:00

52 lines
1.9 KiB
Diff

diff -crB com.discord-1006-base/smali/com/discord/widgets/user/profile/WidgetUserProfileStrip.smali com.discord-1006/smali/com/discord/widgets/user/profile/WidgetUserProfileStrip.smali
*** com.discord-1006-base/smali/com/discord/widgets/user/profile/WidgetUserProfileStrip.smali 2019-12-13 11:10:57.747460720 +0300
--- com.discord-1006/smali/com/discord/widgets/user/profile/WidgetUserProfileStrip.smali 2019-12-13 12:26:17.836834966 +0300
***************
*** 434,446 ****
move-result-object v2
! invoke-virtual {p1}, Lcom/discord/widgets/user/profile/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
invoke-virtual {v2, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
--- 434,440 ----
move-result-object v2
! const-string v4, ""
invoke-virtual {v2, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
***************
*** 449,461 ****
move-result-object v2
! invoke-virtual {p1}, Lcom/discord/widgets/user/profile/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
invoke-virtual {v2, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
--- 443,449 ----
move-result-object v2
! const-string p1, ""
invoke-virtual {v2, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
Only in com.discord-1006/smali/com/discord/widgets/user/profile: WidgetUserProfileStrip.smali.orig
Only in com.discord-1006/smali/com/discord/widgets/user/profile: WidgetUserProfileStrip.smali.rej