forked from distok/cutthecord
101 lines
3.1 KiB
Diff
101 lines
3.1 KiB
Diff
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 2020-10-06 18:20:37.703762301 +0100
|
|
--- to/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali 2020-10-06 18:26:44.005496099 +0100
|
|
***************
|
|
*** 61,122 ****
|
|
.end method
|
|
|
|
.method public final invoke()Z
|
|
! .locals 4
|
|
|
|
! .line 2
|
|
! iget-object v0, p0, Lcom/discord/stores/StoreExperiments$getExperimentalAlpha$1;->this$0:Lcom/discord/stores/StoreExperiments;
|
|
|
|
! invoke-static {v0}, Lcom/discord/stores/StoreExperiments;->access$getStoreUser$p(Lcom/discord/stores/StoreExperiments;)Lcom/discord/stores/StoreUser;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! invoke-virtual {v0}, Lcom/discord/stores/StoreUser;->getMe()Lcom/discord/models/domain/ModelUser$Me;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! .line 3
|
|
! iget-object v1, p0, Lcom/discord/stores/StoreExperiments$getExperimentalAlpha$1;->this$0:Lcom/discord/stores/StoreExperiments;
|
|
!
|
|
! invoke-static {v1}, Lcom/discord/stores/StoreExperiments;->access$getStoreGuilds$p(Lcom/discord/stores/StoreExperiments;)Lcom/discord/stores/StoreGuilds;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! invoke-virtual {v1}, Lcom/discord/stores/StoreGuilds;->getGuilds()Ljava/util/Map;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! const-wide v2, 0x2bc056ab0800006L
|
|
!
|
|
! invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
!
|
|
! move-result-object v2
|
|
!
|
|
! invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! check-cast v1, Lcom/discord/models/domain/ModelGuild;
|
|
!
|
|
! const/4 v2, 0x1
|
|
!
|
|
! if-eqz v0, :cond_0
|
|
!
|
|
! .line 4
|
|
! invoke-virtual {v0}, Lcom/discord/models/domain/ModelUser;->isStaff()Z
|
|
!
|
|
! move-result v0
|
|
!
|
|
! if-eq v0, v2, :cond_2
|
|
!
|
|
! :cond_0
|
|
! if-eqz v1, :cond_1
|
|
!
|
|
! goto :goto_0
|
|
!
|
|
! :cond_1
|
|
! const/4 v2, 0x0
|
|
!
|
|
! :cond_2
|
|
! :goto_0
|
|
! return v2
|
|
.end method
|
|
--- 61,69 ----
|
|
.end method
|
|
|
|
.method public final invoke()Z
|
|
! .locals 1
|
|
|
|
! const/4 v0, 0x1
|
|
|
|
! return v0
|
|
.end method
|
|
diff -crB from/smali_classes2/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali to/smali_classes2/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali
|
|
*** from/smali_classes2/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali 2020-10-06 18:20:38.747774158 +0100
|
|
--- to/smali_classes2/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali 2020-10-06 18:27:09.101727567 +0100
|
|
***************
|
|
*** 92,102 ****
|
|
|
|
if-nez p4, :cond_1
|
|
|
|
! invoke-static {p1, v1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
!
|
|
! invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser;->isStaff()Z
|
|
!
|
|
! move-result p4
|
|
|
|
if-eqz p4, :cond_0
|
|
|
|
--- 92,98 ----
|
|
|
|
if-nez p4, :cond_1
|
|
|
|
! const/4 p4, 0x1
|
|
|
|
if-eqz p4, :cond_0
|
|
|