cutthecordS/patches/pureevil/876.patch
2019-04-25 13:24:37 +03:00

45 lines
1.5 KiB
Diff

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"