cutthecord/patches/noprofilestrip/1022.patch

50 lines
1.6 KiB
Diff
Raw Normal View History

2020-01-16 08:53:22 +00:00
diff -crB from/smali/com/discord/widgets/user/profile/WidgetUserProfileStrip.smali to/smali/com/discord/widgets/user/profile/WidgetUserProfileStrip.smali
*** from/smali/com/discord/widgets/user/profile/WidgetUserProfileStrip.smali 2020-01-10 14:08:30.588336438 +0300
--- to/smali/com/discord/widgets/user/profile/WidgetUserProfileStrip.smali 2020-01-10 14:34:14.592846688 +0300
***************
*** 430,442 ****
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
--- 430,436 ----
move-result-object v2
! const-string v4, ""
invoke-virtual {v2, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
***************
*** 445,457 ****
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
--- 439,445 ----
move-result-object v2
! const-string p1, ""
invoke-virtual {v2, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V