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/pureevil/884.patch

46 lines
1.5 KiB
Diff
Raw Normal View History

2019-04-25 11:01:07 +00:00
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"