forked from distok/cutthecord
Fix pureevil for 876
This commit is contained in:
parent
042fe52427
commit
decca48613
1 changed files with 45 additions and 0 deletions
45
patches/pureevil/876.patch
Normal file
45
patches/pureevil/876.patch
Normal file
|
@ -0,0 +1,45 @@
|
|||
diff -crB -x dist -x build com.discord-876-base/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$2.smali com.discord-876/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$2.smali
|
||||
*** com.discord-876-base/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$2.smali 2019-04-25 11:32:35.082923567 +0300
|
||||
--- com.discord-876/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$2.smali 2019-04-25 11:28:58.758998696 +0300
|
||||
***************
|
||||
*** 108,118 ****
|
||||
const-string v0, "meUser"
|
||||
|
||||
.line 206
|
||||
! invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
!
|
||||
! invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser;->isStaff()Z
|
||||
!
|
||||
! move-result v2
|
||||
|
||||
.line 207
|
||||
invoke-virtual {p3}, Ljava/lang/Boolean;->booleanValue()Z
|
||||
--- 108,114 ----
|
||||
const-string v0, "meUser"
|
||||
|
||||
.line 206
|
||||
! const/4 v2, 0x1
|
||||
|
||||
.line 207
|
||||
invoke-virtual {p3}, Ljava/lang/Boolean;->booleanValue()Z
|
||||
***************
|
||||
*** 124,134 ****
|
||||
const-string p3, "fontScale"
|
||||
|
||||
.line 208
|
||||
! invoke-static {p4, p3}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
!
|
||||
! invoke-virtual {p4}, Ljava/lang/Integer;->intValue()I
|
||||
!
|
||||
! move-result v4
|
||||
|
||||
const-string p3, "isAlphaTesterOrStaff"
|
||||
|
||||
--- 120,126 ----
|
||||
const-string p3, "fontScale"
|
||||
|
||||
.line 208
|
||||
! const/4 v4, 0x1
|
||||
|
||||
const-string p3, "isAlphaTesterOrStaff"
|
||||
|
Loading…
Reference in a new issue