152 lines
4.8 KiB
Diff
152 lines
4.8 KiB
Diff
diff -crB from/smali/com/discord/stores/StoreExperiments$ExperimentAndStaff.smali to/smali/com/discord/stores/StoreExperiments$ExperimentAndStaff.smali
|
|
*** from/smali/com/discord/stores/StoreExperiments$ExperimentAndStaff.smali 2019-03-08 15:11:35.454824030 +0300
|
|
--- to/smali/com/discord/stores/StoreExperiments$ExperimentAndStaff.smali 2019-03-08 16:16:14.428416070 +0300
|
|
***************
|
|
*** 212,219 ****
|
|
.method public final isStaff()Z
|
|
.locals 1
|
|
|
|
! .line 253
|
|
! iget-boolean v0, p0, Lcom/discord/stores/StoreExperiments$ExperimentAndStaff;->isStaff:Z
|
|
|
|
return v0
|
|
.end method
|
|
--- 212,218 ----
|
|
.method public final isStaff()Z
|
|
.locals 1
|
|
|
|
! const/4 v0, 0x1
|
|
|
|
return v0
|
|
.end method
|
|
diff -crB from/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali to/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali
|
|
*** from/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali 2019-03-08 15:11:35.454824030 +0300
|
|
--- to/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali 2019-03-08 16:16:14.428416070 +0300
|
|
***************
|
|
*** 81,108 ****
|
|
.method public final call(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelGuild;)Z
|
|
.locals 1
|
|
|
|
- const-string v0, "meUser"
|
|
-
|
|
- .line 93
|
|
- 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 p1
|
|
-
|
|
- if-nez p1, :cond_1
|
|
-
|
|
- if-eqz p2, :cond_0
|
|
-
|
|
- goto :goto_0
|
|
-
|
|
- :cond_0
|
|
- const/4 p1, 0x0
|
|
-
|
|
- return p1
|
|
-
|
|
- :cond_1
|
|
- :goto_0
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
--- 81,86 ----
|
|
diff -crB from/smali/com/discord/stores/StoreExperiments$getExperimentAndStaff$1.smali to/smali/com/discord/stores/StoreExperiments$getExperimentAndStaff$1.smali
|
|
*** from/smali/com/discord/stores/StoreExperiments$getExperimentAndStaff$1.smali 2019-03-08 15:11:35.454824030 +0300
|
|
--- to/smali/com/discord/stores/StoreExperiments$getExperimentAndStaff$1.smali 2019-03-08 16:16:14.428416070 +0300
|
|
***************
|
|
*** 77,90 ****
|
|
.method public final call(Lcom/discord/models/domain/ModelUser;)Z
|
|
.locals 1
|
|
|
|
! const-string v0, "it"
|
|
!
|
|
! .line 78
|
|
! 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 p1
|
|
|
|
return p1
|
|
.end method
|
|
--- 77,83 ----
|
|
.method public final call(Lcom/discord/models/domain/ModelUser;)Z
|
|
.locals 1
|
|
|
|
! const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
diff -crB from/smali/com/discord/stores/StoreExperiments.smali to/smali/com/discord/stores/StoreExperiments.smali
|
|
*** from/smali/com/discord/stores/StoreExperiments.smali 2019-03-08 15:11:35.454824030 +0300
|
|
--- to/smali/com/discord/stores/StoreExperiments.smali 2019-03-08 16:16:14.428416070 +0300
|
|
***************
|
|
*** 1247,1255 ****
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
! invoke-virtual {v0}, Lcom/discord/models/domain/ModelUser$Me;->isStaff()Z
|
|
!
|
|
! move-result v0
|
|
|
|
if-eq v0, v1, :cond_1
|
|
|
|
--- 1247,1253 ----
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
! const/4 v0, 0x1
|
|
|
|
if-eq v0, v1, :cond_1
|
|
|
|
diff -crB from/smali/com/discord/widgets/settings/WidgetSettingsAppearance$onViewBoundOrOnResume$1.smali to/smali/com/discord/widgets/settings/WidgetSettingsAppearance$onViewBoundOrOnResume$1.smali
|
|
*** from/smali/com/discord/widgets/settings/WidgetSettingsAppearance$onViewBoundOrOnResume$1.smali 2019-03-08 15:11:35.521491104 +0300
|
|
--- to/smali/com/discord/widgets/settings/WidgetSettingsAppearance$onViewBoundOrOnResume$1.smali 2019-03-08 16:16:14.428416070 +0300
|
|
***************
|
|
*** 71,83 ****
|
|
|
|
check-cast v0, Landroid/view/View;
|
|
|
|
! const-string v1, "it"
|
|
!
|
|
! invoke-static {p1, v1}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
!
|
|
! invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser;->isStaff()Z
|
|
!
|
|
! move-result p1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
--- 71,77 ----
|
|
|
|
check-cast v0, Landroid/view/View;
|
|
|
|
! const/4 p1, 0x1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
diff -crB from/smali/com/discord/widgets/settings/WidgetSettings.smali to/smali/com/discord/widgets/settings/WidgetSettings.smali
|
|
*** from/smali/com/discord/widgets/settings/WidgetSettings.smali 2019-03-08 15:11:35.521491104 +0300
|
|
--- to/smali/com/discord/widgets/settings/WidgetSettings.smali 2019-03-08 16:16:14.428416070 +0300
|
|
***************
|
|
*** 785,793 ****
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 118
|
|
! invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser;->isStaff()Z
|
|
!
|
|
! move-result v2
|
|
|
|
if-eq v2, v0, :cond_0
|
|
|
|
--- 785,791 ----
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 118
|
|
! const/4 v2, 0x1
|
|
|
|
if-eq v2, v0, :cond_0
|
|
|