forked from distok/cutthecord
9.9.4
Had to rewrite spoilerimg related parts of supplemental as they moved okhttp3 code to discord's own codebase. However, one benefit of this for us is that it now shows SPOILER_ while you're uploading too.
This commit is contained in:
parent
aeac528a16
commit
c8c7520853
41 changed files with 59810 additions and 2 deletions
53
patches/noprofilestrip/994.patch
Normal file
53
patches/noprofilestrip/994.patch
Normal file
|
@ -0,0 +1,53 @@
|
|||
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 2019-10-31 11:15:17.549144208 +0300
|
||||
--- to/smali/com/discord/widgets/user/profile/WidgetUserProfileStrip.smali 2019-10-31 11:16:48.319624496 +0300
|
||||
***************
|
||||
*** 422,436 ****
|
||||
|
||||
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
|
||||
!
|
||||
! check-cast v4, Ljava/lang/CharSequence;
|
||||
|
||||
invoke-virtual {v2, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
||||
--- 422,428 ----
|
||||
|
||||
move-result-object v2
|
||||
|
||||
! const-string v4, ""
|
||||
|
||||
invoke-virtual {v2, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
||||
***************
|
||||
*** 439,453 ****
|
||||
|
||||
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
|
||||
!
|
||||
! check-cast p1, Ljava/lang/CharSequence;
|
||||
|
||||
invoke-virtual {v2, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
||||
--- 431,437 ----
|
||||
|
||||
move-result-object v2
|
||||
|
||||
! const-string p1, ""
|
||||
|
||||
invoke-virtual {v2, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue