diff --git a/com.discord/apktool.yml b/com.discord/apktool.yml
index 18aabc67ba..bae4221f5e 100644
--- a/com.discord/apktool.yml
+++ b/com.discord/apktool.yml
@@ -1,5 +1,5 @@
!!brut.androlib.meta.MetaInfo
-apkFileName: com.discord-1209.apk
+apkFileName: com.discord-1211.apk
compressionType: false
doNotCompress:
- resources.arsc
@@ -3106,5 +3106,5 @@ usesFramework:
tag: null
version: 2.4.2-83a459-SNAPSHOT
versionInfo:
- versionCode: '1209'
- versionName: '33.2'
+ versionCode: '1211'
+ versionName: '33.4'
diff --git a/com.discord/original/AndroidManifest.xml b/com.discord/original/AndroidManifest.xml
index 881b8a56ee..73dfefa9de 100644
Binary files a/com.discord/original/AndroidManifest.xml and b/com.discord/original/AndroidManifest.xml differ
diff --git a/com.discord/res/values/strings.xml b/com.discord/res/values/strings.xml
index 616f88a9e2..7784428f27 100644
--- a/com.discord/res/values/strings.xml
+++ b/com.discord/res/values/strings.xml
@@ -1156,7 +1156,7 @@ We’re here to make a good impression."
Presets
Select a color
Transparency
- 489e1510062d430db6801f9a9410ba21
+ d8fc668dfe6b4e8c933850ac2b750979
Coming Soon
Search Animated GIFs on the Web
Displays text with emphasis.
diff --git a/com.discord/smali/com/discord/BuildConfig.smali b/com.discord/smali/com/discord/BuildConfig.smali
index a6d43be4bd..161673539c 100644
--- a/com.discord/smali/com/discord/BuildConfig.smali
+++ b/com.discord/smali/com/discord/BuildConfig.smali
@@ -42,11 +42,11 @@
.field public static final SAMSUNGxDISCORD_CLIENT_ID:Ljava/lang/String; = "97t47j218f"
-.field public static final USER_AGENT:Ljava/lang/String; = "Discord-Android/1209"
+.field public static final USER_AGENT:Ljava/lang/String; = "Discord-Android/1211"
-.field public static final VERSION_CODE:I = 0x4b9
+.field public static final VERSION_CODE:I = 0x4bb
-.field public static final VERSION_NAME:Ljava/lang/String; = "33.2"
+.field public static final VERSION_NAME:Ljava/lang/String; = "33.4"
# direct methods
diff --git a/com.discord/smali/com/discord/stores/StoreClientVersion.smali b/com.discord/smali/com/discord/stores/StoreClientVersion.smali
index e7deb038ab..20d75473c0 100644
--- a/com.discord/smali/com/discord/stores/StoreClientVersion.smali
+++ b/com.discord/smali/com/discord/stores/StoreClientVersion.smali
@@ -28,7 +28,7 @@
invoke-direct {p0}, Lcom/discord/stores/Store;->()V
- const/16 v0, 0x4b9
+ const/16 v0, 0x4bb
iput v0, p0, Lcom/discord/stores/StoreClientVersion;->clientVersion:I
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$Companion.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$Companion.smali
index e882f914f3..9938b47702 100644
--- a/com.discord/smali/com/discord/stores/StoreGifPicker$Companion.smali
+++ b/com.discord/smali/com/discord/stores/StoreGifPicker$Companion.smali
@@ -33,24 +33,6 @@
# virtual methods
-.method public final getGifCategoriesLoadingList()Ljava/util/List;
- .locals 1
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "()",
- "Ljava/util/List<",
- "Lcom/discord/models/gifpicker/domain/ModelGifCategory;",
- ">;"
- }
- .end annotation
-
- invoke-static {}, Lcom/discord/stores/StoreGifPicker;->access$getGifCategoriesLoadingList$cp()Ljava/util/List;
-
- move-result-object v0
-
- return-object v0
-.end method
-
.method public final getSearchResultsLoadingList()Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifCategories$1.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifCategories$1.smali
index 2cd7794383..dfef0611bf 100644
--- a/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifCategories$1.smali
+++ b/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifCategories$1.smali
@@ -1,9 +1,9 @@
-.class public final Lcom/discord/stores/StoreGifPicker$fetchGifCategories$1;
-.super Ljava/lang/Object;
+.class public final synthetic Lcom/discord/stores/StoreGifPicker$fetchGifCategories$1;
+.super Lj0/n/c/g;
.source "StoreGifPicker.kt"
# interfaces
-.implements Lrx/functions/Action1;
+.implements Lkotlin/jvm/functions/Function1;
# annotations
@@ -12,58 +12,93 @@
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
- accessFlags = 0x19
+ accessFlags = 0x1019
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
- "",
- "Ljava/lang/Object;",
- "Lrx/functions/Action1<",
- "Ljava/lang/Throwable;",
+ "Lj0/n/c/g;",
+ "Lkotlin/jvm/functions/Function1<",
+ "Lcom/discord/utilities/error/Error;",
+ "Lkotlin/Unit;",
">;"
}
.end annotation
-# instance fields
-.field public final synthetic this$0:Lcom/discord/stores/StoreGifPicker;
-
-
# direct methods
.method public constructor (Lcom/discord/stores/StoreGifPicker;)V
- .locals 0
+ .locals 1
- iput-object p1, p0, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+ const/4 v0, 0x1
- invoke-direct {p0}, Ljava/lang/Object;->()V
+ invoke-direct {p0, v0, p1}, Lj0/n/c/g;->(ILjava/lang/Object;)V
return-void
.end method
# virtual methods
-.method public bridge synthetic call(Ljava/lang/Object;)V
- .locals 0
-
- check-cast p1, Ljava/lang/Throwable;
-
- invoke-virtual {p0, p1}, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$1;->call(Ljava/lang/Throwable;)V
-
- return-void
-.end method
-
-.method public final call(Ljava/lang/Throwable;)V
+.method public final getName()Ljava/lang/String;
.locals 1
- iget-object p1, p0, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+ const-string v0, "handleFetchGifCategoriesError"
- sget-object v0, Lj0/i/n;->d:Lj0/i/n;
+ return-object v0
+.end method
- invoke-static {p1, v0}, Lcom/discord/stores/StoreGifPicker;->access$updateGifCategories(Lcom/discord/stores/StoreGifPicker;Ljava/util/List;)V
+.method public final getOwner()Lkotlin/reflect/KDeclarationContainer;
+ .locals 1
+
+ const-class v0, Lcom/discord/stores/StoreGifPicker;
+
+ invoke-static {v0}, Lj0/n/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/r/b;
+
+ move-result-object v0
+
+ return-object v0
+.end method
+
+.method public final getSignature()Ljava/lang/String;
+ .locals 1
+
+ const-string v0, "handleFetchGifCategoriesError(Lcom/discord/utilities/error/Error;)V"
+
+ return-object v0
+.end method
+
+.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
+ .locals 0
+
+ check-cast p1, Lcom/discord/utilities/error/Error;
+
+ invoke-virtual {p0, p1}, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$1;->invoke(Lcom/discord/utilities/error/Error;)V
+
+ sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
+
+ return-object p1
+.end method
+
+.method public final invoke(Lcom/discord/utilities/error/Error;)V
+ .locals 1
+
+ if-eqz p1, :cond_0
+
+ iget-object v0, p0, Lj0/n/c/b;->receiver:Ljava/lang/Object;
+
+ check-cast v0, Lcom/discord/stores/StoreGifPicker;
+
+ invoke-static {v0, p1}, Lcom/discord/stores/StoreGifPicker;->access$handleFetchGifCategoriesError(Lcom/discord/stores/StoreGifPicker;Lcom/discord/utilities/error/Error;)V
return-void
+
+ :cond_0
+ const-string p1, "p1"
+
+ invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
+
+ const/4 p1, 0x0
+
+ throw p1
.end method
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifCategories$2$1.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifCategories$2$1.smali
deleted file mode 100644
index 96c9240ffe..0000000000
--- a/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifCategories$2$1.smali
+++ /dev/null
@@ -1,78 +0,0 @@
-.class public final Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2$1;
-.super Lj0/n/c/i;
-.source "StoreGifPicker.kt"
-
-# interfaces
-.implements Lkotlin/jvm/functions/Function0;
-
-
-# annotations
-.annotation system Ldalvik/annotation/EnclosingMethod;
- value = Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2;->invoke(Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;)V
-.end annotation
-
-.annotation system Ldalvik/annotation/InnerClass;
- accessFlags = 0x19
- name = null
-.end annotation
-
-.annotation system Ldalvik/annotation/Signature;
- value = {
- "Lj0/n/c/i;",
- "Lkotlin/jvm/functions/Function0<",
- "Lkotlin/Unit;",
- ">;"
- }
-.end annotation
-
-
-# instance fields
-.field public final synthetic $trendingGifsResponseRaw:Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;
-
-.field public final synthetic this$0:Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2;
-
-
-# direct methods
-.method public constructor (Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2;Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;)V
- .locals 0
-
- iput-object p1, p0, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2$1;->this$0:Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2;
-
- iput-object p2, p0, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2$1;->$trendingGifsResponseRaw:Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;
-
- const/4 p1, 0x0
-
- invoke-direct {p0, p1}, Lj0/n/c/i;->(I)V
-
- return-void
-.end method
-
-
-# virtual methods
-.method public bridge synthetic invoke()Ljava/lang/Object;
- .locals 1
-
- invoke-virtual {p0}, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2$1;->invoke()V
-
- sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
-
- return-object v0
-.end method
-
-.method public final invoke()V
- .locals 3
-
- iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2$1;->this$0:Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2;
-
- iget-object v0, v0, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2;->this$0:Lcom/discord/stores/StoreGifPicker;
-
- iget-object v1, p0, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2$1;->$trendingGifsResponseRaw:Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;
-
- const-string v2, "trendingGifsResponseRaw"
-
- invoke-static {v1, v2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
-
- invoke-static {v0, v1}, Lcom/discord/stores/StoreGifPicker;->access$handleTrendingCategoriesResponse(Lcom/discord/stores/StoreGifPicker;Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;)V
-
- return-void
-.end method
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifCategories$2.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifCategories$2.smali
index 9a08cb39be..4e86759ae8 100644
--- a/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifCategories$2.smali
+++ b/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifCategories$2.smali
@@ -1,5 +1,5 @@
-.class public final Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2;
-.super Lj0/n/c/i;
+.class public final synthetic Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2;
+.super Lj0/n/c/g;
.source "StoreGifPicker.kt"
# interfaces
@@ -12,13 +12,13 @@
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
- accessFlags = 0x19
+ accessFlags = 0x1019
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
- "Lj0/n/c/i;",
+ "Lj0/n/c/g;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;",
"Lkotlin/Unit;",
@@ -27,25 +27,47 @@
.end annotation
-# instance fields
-.field public final synthetic this$0:Lcom/discord/stores/StoreGifPicker;
-
-
# direct methods
.method public constructor (Lcom/discord/stores/StoreGifPicker;)V
- .locals 0
+ .locals 1
- iput-object p1, p0, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2;->this$0:Lcom/discord/stores/StoreGifPicker;
+ const/4 v0, 0x1
- const/4 p1, 0x1
-
- invoke-direct {p0, p1}, Lj0/n/c/i;->(I)V
+ invoke-direct {p0, v0, p1}, Lj0/n/c/g;->(ILjava/lang/Object;)V
return-void
.end method
# virtual methods
+.method public final getName()Ljava/lang/String;
+ .locals 1
+
+ const-string v0, "handleFetchGifCategoriesOnNext"
+
+ return-object v0
+.end method
+
+.method public final getOwner()Lkotlin/reflect/KDeclarationContainer;
+ .locals 1
+
+ const-class v0, Lcom/discord/stores/StoreGifPicker;
+
+ invoke-static {v0}, Lj0/n/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/r/b;
+
+ move-result-object v0
+
+ return-object v0
+.end method
+
+.method public final getSignature()Ljava/lang/String;
+ .locals 1
+
+ const-string v0, "handleFetchGifCategoriesOnNext(Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;)V"
+
+ return-object v0
+.end method
+
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
@@ -59,19 +81,24 @@
.end method
.method public final invoke(Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;)V
- .locals 2
+ .locals 1
- iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2;->this$0:Lcom/discord/stores/StoreGifPicker;
+ if-eqz p1, :cond_0
- invoke-static {v0}, Lcom/discord/stores/StoreGifPicker;->access$getDispatcher$p(Lcom/discord/stores/StoreGifPicker;)Lcom/discord/stores/Dispatcher;
+ iget-object v0, p0, Lj0/n/c/b;->receiver:Ljava/lang/Object;
- move-result-object v0
+ check-cast v0, Lcom/discord/stores/StoreGifPicker;
- new-instance v1, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2$1;
-
- invoke-direct {v1, p0, p1}, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2$1;->(Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2;Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;)V
-
- invoke-virtual {v0, v1}, Lcom/discord/stores/Dispatcher;->schedule(Lkotlin/jvm/functions/Function0;)V
+ invoke-static {v0, p1}, Lcom/discord/stores/StoreGifPicker;->access$handleFetchGifCategoriesOnNext(Lcom/discord/stores/StoreGifPicker;Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;)V
return-void
+
+ :cond_0
+ const-string p1, "p1"
+
+ invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
+
+ const/4 p1, 0x0
+
+ throw p1
.end method
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1$1.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1$1.smali
deleted file mode 100644
index e23b51b317..0000000000
--- a/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1$1.smali
+++ /dev/null
@@ -1,74 +0,0 @@
-.class public final Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1$1;
-.super Lj0/n/c/i;
-.source "StoreGifPicker.kt"
-
-# interfaces
-.implements Lkotlin/jvm/functions/Function0;
-
-
-# annotations
-.annotation system Ldalvik/annotation/EnclosingMethod;
- value = Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1;->invoke(Ljava/util/List;)V
-.end annotation
-
-.annotation system Ldalvik/annotation/InnerClass;
- accessFlags = 0x19
- name = null
-.end annotation
-
-.annotation system Ldalvik/annotation/Signature;
- value = {
- "Lj0/n/c/i;",
- "Lkotlin/jvm/functions/Function0<",
- "Lkotlin/Unit;",
- ">;"
- }
-.end annotation
-
-
-# instance fields
-.field public final synthetic $trendingGifsSearchTermsResponseRaw:Ljava/util/List;
-
-.field public final synthetic this$0:Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1;
-
-
-# direct methods
-.method public constructor (Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1;Ljava/util/List;)V
- .locals 0
-
- iput-object p1, p0, Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1$1;->this$0:Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1;
-
- iput-object p2, p0, Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1$1;->$trendingGifsSearchTermsResponseRaw:Ljava/util/List;
-
- const/4 p1, 0x0
-
- invoke-direct {p0, p1}, Lj0/n/c/i;->(I)V
-
- return-void
-.end method
-
-
-# virtual methods
-.method public bridge synthetic invoke()Ljava/lang/Object;
- .locals 1
-
- invoke-virtual {p0}, Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1$1;->invoke()V
-
- sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
-
- return-object v0
-.end method
-
-.method public final invoke()V
- .locals 2
-
- iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1$1;->this$0:Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1;
-
- iget-object v0, v0, Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1;->this$0:Lcom/discord/stores/StoreGifPicker;
-
- iget-object v1, p0, Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1$1;->$trendingGifsSearchTermsResponseRaw:Ljava/util/List;
-
- invoke-static {v0, v1}, Lcom/discord/stores/StoreGifPicker;->access$handleTrendingSearchTermsResponse(Lcom/discord/stores/StoreGifPicker;Ljava/util/List;)V
-
- return-void
-.end method
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1.smali
index 78bdd957b0..56b2192bc7 100644
--- a/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1.smali
+++ b/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1.smali
@@ -1,5 +1,5 @@
-.class public final Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1;
-.super Lj0/n/c/i;
+.class public final synthetic Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1;
+.super Lj0/n/c/g;
.source "StoreGifPicker.kt"
# interfaces
@@ -12,84 +12,89 @@
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
- accessFlags = 0x19
+ accessFlags = 0x1019
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
- "Lj0/n/c/i;",
+ "Lj0/n/c/g;",
"Lkotlin/jvm/functions/Function1<",
- "Ljava/util/List<",
- "+",
- "Ljava/lang/String;",
- ">;",
+ "Lcom/discord/utilities/error/Error;",
"Lkotlin/Unit;",
">;"
}
.end annotation
-# instance fields
-.field public final synthetic this$0:Lcom/discord/stores/StoreGifPicker;
-
-
# direct methods
.method public constructor (Lcom/discord/stores/StoreGifPicker;)V
- .locals 0
+ .locals 1
- iput-object p1, p0, Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+ const/4 v0, 0x1
- const/4 p1, 0x1
-
- invoke-direct {p0, p1}, Lj0/n/c/i;->(I)V
+ invoke-direct {p0, v0, p1}, Lj0/n/c/g;->(ILjava/lang/Object;)V
return-void
.end method
# virtual methods
+.method public final getName()Ljava/lang/String;
+ .locals 1
+
+ const-string v0, "handleFetchTrendingSearchTermsError"
+
+ return-object v0
+.end method
+
+.method public final getOwner()Lkotlin/reflect/KDeclarationContainer;
+ .locals 1
+
+ const-class v0, Lcom/discord/stores/StoreGifPicker;
+
+ invoke-static {v0}, Lj0/n/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/r/b;
+
+ move-result-object v0
+
+ return-object v0
+.end method
+
+.method public final getSignature()Ljava/lang/String;
+ .locals 1
+
+ const-string v0, "handleFetchTrendingSearchTermsError(Lcom/discord/utilities/error/Error;)V"
+
+ return-object v0
+.end method
+
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
- check-cast p1, Ljava/util/List;
+ check-cast p1, Lcom/discord/utilities/error/Error;
- invoke-virtual {p0, p1}, Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1;->invoke(Ljava/util/List;)V
+ invoke-virtual {p0, p1}, Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1;->invoke(Lcom/discord/utilities/error/Error;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
-.method public final invoke(Ljava/util/List;)V
- .locals 2
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "(",
- "Ljava/util/List<",
- "Ljava/lang/String;",
- ">;)V"
- }
- .end annotation
+.method public final invoke(Lcom/discord/utilities/error/Error;)V
+ .locals 1
if-eqz p1, :cond_0
- iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+ iget-object v0, p0, Lj0/n/c/b;->receiver:Ljava/lang/Object;
- invoke-static {v0}, Lcom/discord/stores/StoreGifPicker;->access$getDispatcher$p(Lcom/discord/stores/StoreGifPicker;)Lcom/discord/stores/Dispatcher;
+ check-cast v0, Lcom/discord/stores/StoreGifPicker;
- move-result-object v0
-
- new-instance v1, Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1$1;
-
- invoke-direct {v1, p0, p1}, Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1$1;->(Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1;Ljava/util/List;)V
-
- invoke-virtual {v0, v1}, Lcom/discord/stores/Dispatcher;->schedule(Lkotlin/jvm/functions/Function0;)V
+ invoke-static {v0, p1}, Lcom/discord/stores/StoreGifPicker;->access$handleFetchTrendingSearchTermsError(Lcom/discord/stores/StoreGifPicker;Lcom/discord/utilities/error/Error;)V
return-void
:cond_0
- const-string p1, "trendingGifsSearchTermsResponseRaw"
+ const-string p1, "p1"
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$2.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$2.smali
new file mode 100644
index 0000000000..51a75eec7b
--- /dev/null
+++ b/com.discord/smali/com/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$2.smali
@@ -0,0 +1,115 @@
+.class public final synthetic Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$2;
+.super Lj0/n/c/g;
+.source "StoreGifPicker.kt"
+
+# interfaces
+.implements Lkotlin/jvm/functions/Function1;
+
+
+# annotations
+.annotation system Ldalvik/annotation/EnclosingMethod;
+ value = Lcom/discord/stores/StoreGifPicker;->fetchGifTrendingSearchTerms()V
+.end annotation
+
+.annotation system Ldalvik/annotation/InnerClass;
+ accessFlags = 0x1019
+ name = null
+.end annotation
+
+.annotation system Ldalvik/annotation/Signature;
+ value = {
+ "Lj0/n/c/g;",
+ "Lkotlin/jvm/functions/Function1<",
+ "Ljava/util/List<",
+ "+",
+ "Ljava/lang/String;",
+ ">;",
+ "Lkotlin/Unit;",
+ ">;"
+ }
+.end annotation
+
+
+# direct methods
+.method public constructor (Lcom/discord/stores/StoreGifPicker;)V
+ .locals 1
+
+ const/4 v0, 0x1
+
+ invoke-direct {p0, v0, p1}, Lj0/n/c/g;->(ILjava/lang/Object;)V
+
+ return-void
+.end method
+
+
+# virtual methods
+.method public final getName()Ljava/lang/String;
+ .locals 1
+
+ const-string v0, "handleFetchTrendingSearchTermsOnNext"
+
+ return-object v0
+.end method
+
+.method public final getOwner()Lkotlin/reflect/KDeclarationContainer;
+ .locals 1
+
+ const-class v0, Lcom/discord/stores/StoreGifPicker;
+
+ invoke-static {v0}, Lj0/n/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/r/b;
+
+ move-result-object v0
+
+ return-object v0
+.end method
+
+.method public final getSignature()Ljava/lang/String;
+ .locals 1
+
+ const-string v0, "handleFetchTrendingSearchTermsOnNext(Ljava/util/List;)V"
+
+ return-object v0
+.end method
+
+.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
+ .locals 0
+
+ check-cast p1, Ljava/util/List;
+
+ invoke-virtual {p0, p1}, Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$2;->invoke(Ljava/util/List;)V
+
+ sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
+
+ return-object p1
+.end method
+
+.method public final invoke(Ljava/util/List;)V
+ .locals 1
+ .annotation system Ldalvik/annotation/Signature;
+ value = {
+ "(",
+ "Ljava/util/List<",
+ "Ljava/lang/String;",
+ ">;)V"
+ }
+ .end annotation
+
+ if-eqz p1, :cond_0
+
+ iget-object v0, p0, Lj0/n/c/b;->receiver:Ljava/lang/Object;
+
+ check-cast v0, Lcom/discord/stores/StoreGifPicker;
+
+ invoke-static {v0, p1}, Lcom/discord/stores/StoreGifPicker;->access$handleFetchTrendingSearchTermsOnNext(Lcom/discord/stores/StoreGifPicker;Ljava/util/List;)V
+
+ return-void
+
+ :cond_0
+ const-string p1, "p1"
+
+ invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
+
+ const/4 p1, 0x0
+
+ throw p1
+.end method
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$1.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$1.smali
new file mode 100644
index 0000000000..ea17144cd4
--- /dev/null
+++ b/com.discord/smali/com/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$1.smali
@@ -0,0 +1,129 @@
+.class public final Lcom/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$1;
+.super Ljava/lang/Object;
+.source "StoreGifPicker.kt"
+
+# interfaces
+.implements Lr0/k/b;
+
+
+# annotations
+.annotation system Ldalvik/annotation/EnclosingMethod;
+ value = Lcom/discord/stores/StoreGifPicker;->fetchTrendingCategoryGifs()V
+.end annotation
+
+.annotation system Ldalvik/annotation/InnerClass;
+ accessFlags = 0x19
+ name = null
+.end annotation
+
+.annotation system Ldalvik/annotation/Signature;
+ value = {
+ "",
+ "Ljava/lang/Object;",
+ "Lr0/k/b<",
+ "TT;TR;>;"
+ }
+.end annotation
+
+
+# static fields
+.field public static final INSTANCE:Lcom/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$1;
+
+
+# direct methods
+.method public static constructor ()V
+ .locals 1
+
+ new-instance v0, Lcom/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$1;
+
+ invoke-direct {v0}, Lcom/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$1;->()V
+
+ sput-object v0, Lcom/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$1;->INSTANCE:Lcom/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$1;
+
+ return-void
+.end method
+
+.method public constructor ()V
+ .locals 0
+
+ invoke-direct {p0}, Ljava/lang/Object;->()V
+
+ return-void
+.end method
+
+
+# virtual methods
+.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
+ .locals 0
+
+ check-cast p1, Ljava/util/List;
+
+ invoke-virtual {p0, p1}, Lcom/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$1;->call(Ljava/util/List;)Ljava/util/List;
+
+ move-result-object p1
+
+ return-object p1
+.end method
+
+.method public final call(Ljava/util/List;)Ljava/util/List;
+ .locals 3
+ .annotation system Ldalvik/annotation/Signature;
+ value = {
+ "(",
+ "Ljava/util/List<",
+ "Lcom/discord/models/gifpicker/dto/GifDto;",
+ ">;)",
+ "Ljava/util/List<",
+ "Lcom/discord/models/gifpicker/dto/ModelGif;",
+ ">;"
+ }
+ .end annotation
+
+ const-string v0, "gifDtos"
+
+ invoke-static {p1, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
+
+ new-instance v0, Ljava/util/ArrayList;
+
+ const/16 v1, 0xa
+
+ invoke-static {p1, v1}, Lf/n/a/k/a;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
+
+ move-result v1
+
+ invoke-direct {v0, v1}, Ljava/util/ArrayList;->(I)V
+
+ invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
+
+ move-result-object p1
+
+ :goto_0
+ invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
+
+ move-result v1
+
+ if-eqz v1, :cond_0
+
+ invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
+
+ move-result-object v1
+
+ check-cast v1, Lcom/discord/models/gifpicker/dto/GifDto;
+
+ sget-object v2, Lcom/discord/models/gifpicker/dto/ModelGif;->Companion:Lcom/discord/models/gifpicker/dto/ModelGif$Companion;
+
+ invoke-virtual {v2, v1}, Lcom/discord/models/gifpicker/dto/ModelGif$Companion;->createFromGifDto(Lcom/discord/models/gifpicker/dto/GifDto;)Lcom/discord/models/gifpicker/dto/ModelGif;
+
+ move-result-object v1
+
+ invoke-interface {v0, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
+
+ goto :goto_0
+
+ :cond_0
+ return-object v0
+.end method
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$2.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$2.smali
new file mode 100644
index 0000000000..010335b358
--- /dev/null
+++ b/com.discord/smali/com/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$2.smali
@@ -0,0 +1,104 @@
+.class public final synthetic Lcom/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$2;
+.super Lj0/n/c/g;
+.source "StoreGifPicker.kt"
+
+# interfaces
+.implements Lkotlin/jvm/functions/Function1;
+
+
+# annotations
+.annotation system Ldalvik/annotation/EnclosingMethod;
+ value = Lcom/discord/stores/StoreGifPicker;->fetchTrendingCategoryGifs()V
+.end annotation
+
+.annotation system Ldalvik/annotation/InnerClass;
+ accessFlags = 0x1019
+ name = null
+.end annotation
+
+.annotation system Ldalvik/annotation/Signature;
+ value = {
+ "Lj0/n/c/g;",
+ "Lkotlin/jvm/functions/Function1<",
+ "Lcom/discord/utilities/error/Error;",
+ "Lkotlin/Unit;",
+ ">;"
+ }
+.end annotation
+
+
+# direct methods
+.method public constructor (Lcom/discord/stores/StoreGifPicker;)V
+ .locals 1
+
+ const/4 v0, 0x1
+
+ invoke-direct {p0, v0, p1}, Lj0/n/c/g;->(ILjava/lang/Object;)V
+
+ return-void
+.end method
+
+
+# virtual methods
+.method public final getName()Ljava/lang/String;
+ .locals 1
+
+ const-string v0, "handleFetchTrendingGifsError"
+
+ return-object v0
+.end method
+
+.method public final getOwner()Lkotlin/reflect/KDeclarationContainer;
+ .locals 1
+
+ const-class v0, Lcom/discord/stores/StoreGifPicker;
+
+ invoke-static {v0}, Lj0/n/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/r/b;
+
+ move-result-object v0
+
+ return-object v0
+.end method
+
+.method public final getSignature()Ljava/lang/String;
+ .locals 1
+
+ const-string v0, "handleFetchTrendingGifsError(Lcom/discord/utilities/error/Error;)V"
+
+ return-object v0
+.end method
+
+.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
+ .locals 0
+
+ check-cast p1, Lcom/discord/utilities/error/Error;
+
+ invoke-virtual {p0, p1}, Lcom/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$2;->invoke(Lcom/discord/utilities/error/Error;)V
+
+ sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
+
+ return-object p1
+.end method
+
+.method public final invoke(Lcom/discord/utilities/error/Error;)V
+ .locals 1
+
+ if-eqz p1, :cond_0
+
+ iget-object v0, p0, Lj0/n/c/b;->receiver:Ljava/lang/Object;
+
+ check-cast v0, Lcom/discord/stores/StoreGifPicker;
+
+ invoke-static {v0, p1}, Lcom/discord/stores/StoreGifPicker;->access$handleFetchTrendingGifsError(Lcom/discord/stores/StoreGifPicker;Lcom/discord/utilities/error/Error;)V
+
+ return-void
+
+ :cond_0
+ const-string p1, "p1"
+
+ invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
+
+ const/4 p1, 0x0
+
+ throw p1
+.end method
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$3.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$3.smali
new file mode 100644
index 0000000000..edd3e6aa38
--- /dev/null
+++ b/com.discord/smali/com/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$3.smali
@@ -0,0 +1,115 @@
+.class public final synthetic Lcom/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$3;
+.super Lj0/n/c/g;
+.source "StoreGifPicker.kt"
+
+# interfaces
+.implements Lkotlin/jvm/functions/Function1;
+
+
+# annotations
+.annotation system Ldalvik/annotation/EnclosingMethod;
+ value = Lcom/discord/stores/StoreGifPicker;->fetchTrendingCategoryGifs()V
+.end annotation
+
+.annotation system Ldalvik/annotation/InnerClass;
+ accessFlags = 0x1019
+ name = null
+.end annotation
+
+.annotation system Ldalvik/annotation/Signature;
+ value = {
+ "Lj0/n/c/g;",
+ "Lkotlin/jvm/functions/Function1<",
+ "Ljava/util/List<",
+ "+",
+ "Lcom/discord/models/gifpicker/dto/ModelGif;",
+ ">;",
+ "Lkotlin/Unit;",
+ ">;"
+ }
+.end annotation
+
+
+# direct methods
+.method public constructor (Lcom/discord/stores/StoreGifPicker;)V
+ .locals 1
+
+ const/4 v0, 0x1
+
+ invoke-direct {p0, v0, p1}, Lj0/n/c/g;->(ILjava/lang/Object;)V
+
+ return-void
+.end method
+
+
+# virtual methods
+.method public final getName()Ljava/lang/String;
+ .locals 1
+
+ const-string v0, "handleFetchTrendingGifsOnNext"
+
+ return-object v0
+.end method
+
+.method public final getOwner()Lkotlin/reflect/KDeclarationContainer;
+ .locals 1
+
+ const-class v0, Lcom/discord/stores/StoreGifPicker;
+
+ invoke-static {v0}, Lj0/n/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/r/b;
+
+ move-result-object v0
+
+ return-object v0
+.end method
+
+.method public final getSignature()Ljava/lang/String;
+ .locals 1
+
+ const-string v0, "handleFetchTrendingGifsOnNext(Ljava/util/List;)V"
+
+ return-object v0
+.end method
+
+.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
+ .locals 0
+
+ check-cast p1, Ljava/util/List;
+
+ invoke-virtual {p0, p1}, Lcom/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$3;->invoke(Ljava/util/List;)V
+
+ sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
+
+ return-object p1
+.end method
+
+.method public final invoke(Ljava/util/List;)V
+ .locals 1
+ .annotation system Ldalvik/annotation/Signature;
+ value = {
+ "(",
+ "Ljava/util/List<",
+ "Lcom/discord/models/gifpicker/dto/ModelGif;",
+ ">;)V"
+ }
+ .end annotation
+
+ if-eqz p1, :cond_0
+
+ iget-object v0, p0, Lj0/n/c/b;->receiver:Ljava/lang/Object;
+
+ check-cast v0, Lcom/discord/stores/StoreGifPicker;
+
+ invoke-static {v0, p1}, Lcom/discord/stores/StoreGifPicker;->access$handleFetchTrendingGifsOnNext(Lcom/discord/stores/StoreGifPicker;Ljava/util/List;)V
+
+ return-void
+
+ :cond_0
+ const-string p1, "p1"
+
+ invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
+
+ const/4 p1, 0x0
+
+ throw p1
+.end method
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$handleFetchGifCategoriesError$1.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$handleFetchGifCategoriesError$1.smali
new file mode 100644
index 0000000000..7a651edc9f
--- /dev/null
+++ b/com.discord/smali/com/discord/stores/StoreGifPicker$handleFetchGifCategoriesError$1.smali
@@ -0,0 +1,68 @@
+.class public final Lcom/discord/stores/StoreGifPicker$handleFetchGifCategoriesError$1;
+.super Lj0/n/c/i;
+.source "StoreGifPicker.kt"
+
+# interfaces
+.implements Lkotlin/jvm/functions/Function0;
+
+
+# annotations
+.annotation system Ldalvik/annotation/EnclosingMethod;
+ value = Lcom/discord/stores/StoreGifPicker;->handleFetchGifCategoriesError(Lcom/discord/utilities/error/Error;)V
+.end annotation
+
+.annotation system Ldalvik/annotation/InnerClass;
+ accessFlags = 0x19
+ name = null
+.end annotation
+
+.annotation system Ldalvik/annotation/Signature;
+ value = {
+ "Lj0/n/c/i;",
+ "Lkotlin/jvm/functions/Function0<",
+ "Lkotlin/Unit;",
+ ">;"
+ }
+.end annotation
+
+
+# instance fields
+.field public final synthetic this$0:Lcom/discord/stores/StoreGifPicker;
+
+
+# direct methods
+.method public constructor (Lcom/discord/stores/StoreGifPicker;)V
+ .locals 0
+
+ iput-object p1, p0, Lcom/discord/stores/StoreGifPicker$handleFetchGifCategoriesError$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ const/4 p1, 0x0
+
+ invoke-direct {p0, p1}, Lj0/n/c/i;->(I)V
+
+ return-void
+.end method
+
+
+# virtual methods
+.method public bridge synthetic invoke()Ljava/lang/Object;
+ .locals 1
+
+ invoke-virtual {p0}, Lcom/discord/stores/StoreGifPicker$handleFetchGifCategoriesError$1;->invoke()V
+
+ sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
+
+ return-object v0
+.end method
+
+.method public final invoke()V
+ .locals 2
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$handleFetchGifCategoriesError$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ const/4 v1, 0x0
+
+ invoke-static {v0, v1}, Lcom/discord/stores/StoreGifPicker;->access$setFetchingGifCategories$p(Lcom/discord/stores/StoreGifPicker;Z)V
+
+ return-void
+.end method
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$handleFetchGifCategoriesOnNext$1.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$handleFetchGifCategoriesOnNext$1.smali
new file mode 100644
index 0000000000..54c8d7a4a4
--- /dev/null
+++ b/com.discord/smali/com/discord/stores/StoreGifPicker$handleFetchGifCategoriesOnNext$1.smali
@@ -0,0 +1,78 @@
+.class public final Lcom/discord/stores/StoreGifPicker$handleFetchGifCategoriesOnNext$1;
+.super Lj0/n/c/i;
+.source "StoreGifPicker.kt"
+
+# interfaces
+.implements Lkotlin/jvm/functions/Function0;
+
+
+# annotations
+.annotation system Ldalvik/annotation/EnclosingMethod;
+ value = Lcom/discord/stores/StoreGifPicker;->handleFetchGifCategoriesOnNext(Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;)V
+.end annotation
+
+.annotation system Ldalvik/annotation/InnerClass;
+ accessFlags = 0x19
+ name = null
+.end annotation
+
+.annotation system Ldalvik/annotation/Signature;
+ value = {
+ "Lj0/n/c/i;",
+ "Lkotlin/jvm/functions/Function0<",
+ "Lkotlin/Unit;",
+ ">;"
+ }
+.end annotation
+
+
+# instance fields
+.field public final synthetic $trendingGifsResponseRaw:Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;
+
+.field public final synthetic this$0:Lcom/discord/stores/StoreGifPicker;
+
+
+# direct methods
+.method public constructor (Lcom/discord/stores/StoreGifPicker;Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;)V
+ .locals 0
+
+ iput-object p1, p0, Lcom/discord/stores/StoreGifPicker$handleFetchGifCategoriesOnNext$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ iput-object p2, p0, Lcom/discord/stores/StoreGifPicker$handleFetchGifCategoriesOnNext$1;->$trendingGifsResponseRaw:Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;
+
+ const/4 p1, 0x0
+
+ invoke-direct {p0, p1}, Lj0/n/c/i;->(I)V
+
+ return-void
+.end method
+
+
+# virtual methods
+.method public bridge synthetic invoke()Ljava/lang/Object;
+ .locals 1
+
+ invoke-virtual {p0}, Lcom/discord/stores/StoreGifPicker$handleFetchGifCategoriesOnNext$1;->invoke()V
+
+ sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
+
+ return-object v0
+.end method
+
+.method public final invoke()V
+ .locals 2
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$handleFetchGifCategoriesOnNext$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ iget-object v1, p0, Lcom/discord/stores/StoreGifPicker$handleFetchGifCategoriesOnNext$1;->$trendingGifsResponseRaw:Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;
+
+ invoke-static {v0, v1}, Lcom/discord/stores/StoreGifPicker;->access$handleTrendingCategoriesResponse(Lcom/discord/stores/StoreGifPicker;Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;)V
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$handleFetchGifCategoriesOnNext$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ const/4 v1, 0x0
+
+ invoke-static {v0, v1}, Lcom/discord/stores/StoreGifPicker;->access$setFetchingGifCategories$p(Lcom/discord/stores/StoreGifPicker;Z)V
+
+ return-void
+.end method
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$handleFetchTrendingGifsError$1.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$handleFetchTrendingGifsError$1.smali
new file mode 100644
index 0000000000..3c05638c4e
--- /dev/null
+++ b/com.discord/smali/com/discord/stores/StoreGifPicker$handleFetchTrendingGifsError$1.smali
@@ -0,0 +1,68 @@
+.class public final Lcom/discord/stores/StoreGifPicker$handleFetchTrendingGifsError$1;
+.super Lj0/n/c/i;
+.source "StoreGifPicker.kt"
+
+# interfaces
+.implements Lkotlin/jvm/functions/Function0;
+
+
+# annotations
+.annotation system Ldalvik/annotation/EnclosingMethod;
+ value = Lcom/discord/stores/StoreGifPicker;->handleFetchTrendingGifsError(Lcom/discord/utilities/error/Error;)V
+.end annotation
+
+.annotation system Ldalvik/annotation/InnerClass;
+ accessFlags = 0x19
+ name = null
+.end annotation
+
+.annotation system Ldalvik/annotation/Signature;
+ value = {
+ "Lj0/n/c/i;",
+ "Lkotlin/jvm/functions/Function0<",
+ "Lkotlin/Unit;",
+ ">;"
+ }
+.end annotation
+
+
+# instance fields
+.field public final synthetic this$0:Lcom/discord/stores/StoreGifPicker;
+
+
+# direct methods
+.method public constructor (Lcom/discord/stores/StoreGifPicker;)V
+ .locals 0
+
+ iput-object p1, p0, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingGifsError$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ const/4 p1, 0x0
+
+ invoke-direct {p0, p1}, Lj0/n/c/i;->(I)V
+
+ return-void
+.end method
+
+
+# virtual methods
+.method public bridge synthetic invoke()Ljava/lang/Object;
+ .locals 1
+
+ invoke-virtual {p0}, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingGifsError$1;->invoke()V
+
+ sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
+
+ return-object v0
+.end method
+
+.method public final invoke()V
+ .locals 2
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingGifsError$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ const/4 v1, 0x0
+
+ invoke-static {v0, v1}, Lcom/discord/stores/StoreGifPicker;->access$setFetchingTrendingCategoryGifs$p(Lcom/discord/stores/StoreGifPicker;Z)V
+
+ return-void
+.end method
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$handleFetchTrendingGifsOnNext$1.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$handleFetchTrendingGifsOnNext$1.smali
new file mode 100644
index 0000000000..9160f5090e
--- /dev/null
+++ b/com.discord/smali/com/discord/stores/StoreGifPicker$handleFetchTrendingGifsOnNext$1.smali
@@ -0,0 +1,78 @@
+.class public final Lcom/discord/stores/StoreGifPicker$handleFetchTrendingGifsOnNext$1;
+.super Lj0/n/c/i;
+.source "StoreGifPicker.kt"
+
+# interfaces
+.implements Lkotlin/jvm/functions/Function0;
+
+
+# annotations
+.annotation system Ldalvik/annotation/EnclosingMethod;
+ value = Lcom/discord/stores/StoreGifPicker;->handleFetchTrendingGifsOnNext(Ljava/util/List;)V
+.end annotation
+
+.annotation system Ldalvik/annotation/InnerClass;
+ accessFlags = 0x19
+ name = null
+.end annotation
+
+.annotation system Ldalvik/annotation/Signature;
+ value = {
+ "Lj0/n/c/i;",
+ "Lkotlin/jvm/functions/Function0<",
+ "Lkotlin/Unit;",
+ ">;"
+ }
+.end annotation
+
+
+# instance fields
+.field public final synthetic $gifs:Ljava/util/List;
+
+.field public final synthetic this$0:Lcom/discord/stores/StoreGifPicker;
+
+
+# direct methods
+.method public constructor (Lcom/discord/stores/StoreGifPicker;Ljava/util/List;)V
+ .locals 0
+
+ iput-object p1, p0, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingGifsOnNext$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ iput-object p2, p0, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingGifsOnNext$1;->$gifs:Ljava/util/List;
+
+ const/4 p1, 0x0
+
+ invoke-direct {p0, p1}, Lj0/n/c/i;->(I)V
+
+ return-void
+.end method
+
+
+# virtual methods
+.method public bridge synthetic invoke()Ljava/lang/Object;
+ .locals 1
+
+ invoke-virtual {p0}, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingGifsOnNext$1;->invoke()V
+
+ sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
+
+ return-object v0
+.end method
+
+.method public final invoke()V
+ .locals 2
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingGifsOnNext$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ iget-object v1, p0, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingGifsOnNext$1;->$gifs:Ljava/util/List;
+
+ invoke-static {v0, v1}, Lcom/discord/stores/StoreGifPicker;->access$updateTrendingCategoryGifs(Lcom/discord/stores/StoreGifPicker;Ljava/util/List;)V
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingGifsOnNext$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ const/4 v1, 0x0
+
+ invoke-static {v0, v1}, Lcom/discord/stores/StoreGifPicker;->access$setFetchingTrendingCategoryGifs$p(Lcom/discord/stores/StoreGifPicker;Z)V
+
+ return-void
+.end method
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsError$1.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsError$1.smali
new file mode 100644
index 0000000000..40cecb61e3
--- /dev/null
+++ b/com.discord/smali/com/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsError$1.smali
@@ -0,0 +1,68 @@
+.class public final Lcom/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsError$1;
+.super Lj0/n/c/i;
+.source "StoreGifPicker.kt"
+
+# interfaces
+.implements Lkotlin/jvm/functions/Function0;
+
+
+# annotations
+.annotation system Ldalvik/annotation/EnclosingMethod;
+ value = Lcom/discord/stores/StoreGifPicker;->handleFetchTrendingSearchTermsError(Lcom/discord/utilities/error/Error;)V
+.end annotation
+
+.annotation system Ldalvik/annotation/InnerClass;
+ accessFlags = 0x19
+ name = null
+.end annotation
+
+.annotation system Ldalvik/annotation/Signature;
+ value = {
+ "Lj0/n/c/i;",
+ "Lkotlin/jvm/functions/Function0<",
+ "Lkotlin/Unit;",
+ ">;"
+ }
+.end annotation
+
+
+# instance fields
+.field public final synthetic this$0:Lcom/discord/stores/StoreGifPicker;
+
+
+# direct methods
+.method public constructor (Lcom/discord/stores/StoreGifPicker;)V
+ .locals 0
+
+ iput-object p1, p0, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsError$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ const/4 p1, 0x0
+
+ invoke-direct {p0, p1}, Lj0/n/c/i;->(I)V
+
+ return-void
+.end method
+
+
+# virtual methods
+.method public bridge synthetic invoke()Ljava/lang/Object;
+ .locals 1
+
+ invoke-virtual {p0}, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsError$1;->invoke()V
+
+ sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
+
+ return-object v0
+.end method
+
+.method public final invoke()V
+ .locals 2
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsError$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ const/4 v1, 0x0
+
+ invoke-static {v0, v1}, Lcom/discord/stores/StoreGifPicker;->access$setFetchingTrendingSearchTerms$p(Lcom/discord/stores/StoreGifPicker;Z)V
+
+ return-void
+.end method
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsOnNext$1.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsOnNext$1.smali
new file mode 100644
index 0000000000..6782977319
--- /dev/null
+++ b/com.discord/smali/com/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsOnNext$1.smali
@@ -0,0 +1,78 @@
+.class public final Lcom/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsOnNext$1;
+.super Lj0/n/c/i;
+.source "StoreGifPicker.kt"
+
+# interfaces
+.implements Lkotlin/jvm/functions/Function0;
+
+
+# annotations
+.annotation system Ldalvik/annotation/EnclosingMethod;
+ value = Lcom/discord/stores/StoreGifPicker;->handleFetchTrendingSearchTermsOnNext(Ljava/util/List;)V
+.end annotation
+
+.annotation system Ldalvik/annotation/InnerClass;
+ accessFlags = 0x19
+ name = null
+.end annotation
+
+.annotation system Ldalvik/annotation/Signature;
+ value = {
+ "Lj0/n/c/i;",
+ "Lkotlin/jvm/functions/Function0<",
+ "Lkotlin/Unit;",
+ ">;"
+ }
+.end annotation
+
+
+# instance fields
+.field public final synthetic $trendingSearchTerms:Ljava/util/List;
+
+.field public final synthetic this$0:Lcom/discord/stores/StoreGifPicker;
+
+
+# direct methods
+.method public constructor (Lcom/discord/stores/StoreGifPicker;Ljava/util/List;)V
+ .locals 0
+
+ iput-object p1, p0, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsOnNext$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ iput-object p2, p0, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsOnNext$1;->$trendingSearchTerms:Ljava/util/List;
+
+ const/4 p1, 0x0
+
+ invoke-direct {p0, p1}, Lj0/n/c/i;->(I)V
+
+ return-void
+.end method
+
+
+# virtual methods
+.method public bridge synthetic invoke()Ljava/lang/Object;
+ .locals 1
+
+ invoke-virtual {p0}, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsOnNext$1;->invoke()V
+
+ sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
+
+ return-object v0
+.end method
+
+.method public final invoke()V
+ .locals 2
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsOnNext$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ iget-object v1, p0, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsOnNext$1;->$trendingSearchTerms:Ljava/util/List;
+
+ invoke-static {v0, v1}, Lcom/discord/stores/StoreGifPicker;->access$updateTrendingSearchTerms(Lcom/discord/stores/StoreGifPicker;Ljava/util/List;)V
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsOnNext$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ const/4 v1, 0x0
+
+ invoke-static {v0, v1}, Lcom/discord/stores/StoreGifPicker;->access$setFetchingTrendingSearchTerms$p(Lcom/discord/stores/StoreGifPicker;Z)V
+
+ return-void
+.end method
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$observeGifCategories$1.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$observeGifCategories$1.smali
index adcaa512c0..98f9ffa253 100644
--- a/com.discord/smali/com/discord/stores/StoreGifPicker$observeGifCategories$1.smali
+++ b/com.discord/smali/com/discord/stores/StoreGifPicker$observeGifCategories$1.smali
@@ -56,7 +56,7 @@
.end method
.method public final invoke()V
- .locals 2
+ .locals 1
iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$observeGifCategories$1;->this$0:Lcom/discord/stores/StoreGifPicker;
@@ -64,23 +64,19 @@
move-result-object v0
- sget-object v1, Lcom/discord/stores/StoreGifPicker;->Companion:Lcom/discord/stores/StoreGifPicker$Companion;
+ invoke-interface {v0}, Ljava/util/List;->isEmpty()Z
- invoke-virtual {v1}, Lcom/discord/stores/StoreGifPicker$Companion;->getGifCategoriesLoadingList()Ljava/util/List;
+ move-result v0
- move-result-object v1
-
- if-eq v0, v1, :cond_0
+ if-eqz v0, :cond_0
iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$observeGifCategories$1;->this$0:Lcom/discord/stores/StoreGifPicker;
- sget-object v1, Lcom/discord/stores/StoreGifPicker;->Companion:Lcom/discord/stores/StoreGifPicker$Companion;
+ invoke-static {v0}, Lcom/discord/stores/StoreGifPicker;->access$isFetchingGifCategories$p(Lcom/discord/stores/StoreGifPicker;)Z
- invoke-virtual {v1}, Lcom/discord/stores/StoreGifPicker$Companion;->getGifCategoriesLoadingList()Ljava/util/List;
+ move-result v0
- move-result-object v1
-
- invoke-static {v0, v1}, Lcom/discord/stores/StoreGifPicker;->access$updateGifCategories(Lcom/discord/stores/StoreGifPicker;Ljava/util/List;)V
+ if-nez v0, :cond_0
iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$observeGifCategories$1;->this$0:Lcom/discord/stores/StoreGifPicker;
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$1.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$1.smali
index 8a563114f7..fdce275583 100644
--- a/com.discord/smali/com/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$1.smali
+++ b/com.discord/smali/com/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$1.smali
@@ -20,10 +20,8 @@
value = {
"Lj0/n/c/i;",
"Lkotlin/jvm/functions/Function0<",
- "Ljava/util/List<",
- "+",
- "Ljava/lang/String;",
- ">;>;"
+ "Lkotlin/Unit;",
+ ">;"
}
.end annotation
@@ -50,29 +48,40 @@
.method public bridge synthetic invoke()Ljava/lang/Object;
.locals 1
- invoke-virtual {p0}, Lcom/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$1;->invoke()Ljava/util/List;
+ invoke-virtual {p0}, Lcom/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$1;->invoke()V
- move-result-object v0
+ sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object v0
.end method
-.method public final invoke()Ljava/util/List;
+.method public final invoke()V
.locals 1
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "()",
- "Ljava/util/List<",
- "Ljava/lang/String;",
- ">;"
- }
- .end annotation
iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$1;->this$0:Lcom/discord/stores/StoreGifPicker;
- invoke-static {v0}, Lcom/discord/stores/StoreGifPicker;->access$getGifTrendingSearchTerms(Lcom/discord/stores/StoreGifPicker;)Ljava/util/List;
+ invoke-static {v0}, Lcom/discord/stores/StoreGifPicker;->access$getGifTrendingSearchTerms$p(Lcom/discord/stores/StoreGifPicker;)Ljava/util/List;
move-result-object v0
- return-object v0
+ invoke-interface {v0}, Ljava/util/List;->isEmpty()Z
+
+ move-result v0
+
+ if-eqz v0, :cond_0
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ invoke-static {v0}, Lcom/discord/stores/StoreGifPicker;->access$isFetchingTrendingSearchTerms$p(Lcom/discord/stores/StoreGifPicker;)Z
+
+ move-result v0
+
+ if-nez v0, :cond_0
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ invoke-static {v0}, Lcom/discord/stores/StoreGifPicker;->access$fetchGifTrendingSearchTerms(Lcom/discord/stores/StoreGifPicker;)V
+
+ :cond_0
+ return-void
.end method
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$2.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$2.smali
new file mode 100644
index 0000000000..a4dbfacbd5
--- /dev/null
+++ b/com.discord/smali/com/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$2.smali
@@ -0,0 +1,78 @@
+.class public final Lcom/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$2;
+.super Lj0/n/c/i;
+.source "StoreGifPicker.kt"
+
+# interfaces
+.implements Lkotlin/jvm/functions/Function0;
+
+
+# annotations
+.annotation system Ldalvik/annotation/EnclosingMethod;
+ value = Lcom/discord/stores/StoreGifPicker;->observeGifTrendingSearchTerms()Lrx/Observable;
+.end annotation
+
+.annotation system Ldalvik/annotation/InnerClass;
+ accessFlags = 0x19
+ name = null
+.end annotation
+
+.annotation system Ldalvik/annotation/Signature;
+ value = {
+ "Lj0/n/c/i;",
+ "Lkotlin/jvm/functions/Function0<",
+ "Ljava/util/List<",
+ "+",
+ "Ljava/lang/String;",
+ ">;>;"
+ }
+.end annotation
+
+
+# instance fields
+.field public final synthetic this$0:Lcom/discord/stores/StoreGifPicker;
+
+
+# direct methods
+.method public constructor (Lcom/discord/stores/StoreGifPicker;)V
+ .locals 0
+
+ iput-object p1, p0, Lcom/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$2;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ const/4 p1, 0x0
+
+ invoke-direct {p0, p1}, Lj0/n/c/i;->(I)V
+
+ return-void
+.end method
+
+
+# virtual methods
+.method public bridge synthetic invoke()Ljava/lang/Object;
+ .locals 1
+
+ invoke-virtual {p0}, Lcom/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$2;->invoke()Ljava/util/List;
+
+ move-result-object v0
+
+ return-object v0
+.end method
+
+.method public final invoke()Ljava/util/List;
+ .locals 1
+ .annotation system Ldalvik/annotation/Signature;
+ value = {
+ "()",
+ "Ljava/util/List<",
+ "Ljava/lang/String;",
+ ">;"
+ }
+ .end annotation
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$2;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ invoke-static {v0}, Lcom/discord/stores/StoreGifPicker;->access$getGifTrendingSearchTerms(Lcom/discord/stores/StoreGifPicker;)Ljava/util/List;
+
+ move-result-object v0
+
+ return-object v0
+.end method
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$1.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$1.smali
index ab3123b89b..ce86fbca77 100644
--- a/com.discord/smali/com/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$1.smali
+++ b/com.discord/smali/com/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$1.smali
@@ -1,9 +1,9 @@
.class public final Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$1;
-.super Ljava/lang/Object;
+.super Lj0/n/c/i;
.source "StoreGifPicker.kt"
# interfaces
-.implements Lr0/k/b;
+.implements Lkotlin/jvm/functions/Function0;
# annotations
@@ -18,112 +18,70 @@
.annotation system Ldalvik/annotation/Signature;
value = {
- "",
- "Ljava/lang/Object;",
- "Lr0/k/b<",
- "TT;TR;>;"
+ "Lj0/n/c/i;",
+ "Lkotlin/jvm/functions/Function0<",
+ "Lkotlin/Unit;",
+ ">;"
}
.end annotation
-# static fields
-.field public static final INSTANCE:Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$1;
+# instance fields
+.field public final synthetic this$0:Lcom/discord/stores/StoreGifPicker;
# direct methods
-.method public static constructor ()V
- .locals 1
-
- new-instance v0, Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$1;
-
- invoke-direct {v0}, Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$1;->()V
-
- sput-object v0, Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$1;->INSTANCE:Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$1;
-
- return-void
-.end method
-
-.method public constructor ()V
+.method public constructor (Lcom/discord/stores/StoreGifPicker;)V
.locals 0
- invoke-direct {p0}, Ljava/lang/Object;->()V
+ iput-object p1, p0, Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ const/4 p1, 0x0
+
+ invoke-direct {p0, p1}, Lj0/n/c/i;->(I)V
return-void
.end method
# virtual methods
-.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
- .locals 0
+.method public bridge synthetic invoke()Ljava/lang/Object;
+ .locals 1
- check-cast p1, Ljava/util/List;
+ invoke-virtual {p0}, Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$1;->invoke()V
- invoke-virtual {p0, p1}, Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$1;->call(Ljava/util/List;)Ljava/util/List;
+ sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
- move-result-object p1
-
- return-object p1
-.end method
-
-.method public final call(Ljava/util/List;)Ljava/util/List;
- .locals 3
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "(",
- "Ljava/util/List<",
- "Lcom/discord/models/gifpicker/dto/GifDto;",
- ">;)",
- "Ljava/util/List<",
- "Lcom/discord/models/gifpicker/dto/ModelGif;",
- ">;"
- }
- .end annotation
-
- const-string v0, "gifDtos"
-
- invoke-static {p1, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
-
- new-instance v0, Ljava/util/ArrayList;
-
- const/16 v1, 0xa
-
- invoke-static {p1, v1}, Lf/n/a/k/a;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
-
- move-result v1
-
- invoke-direct {v0, v1}, Ljava/util/ArrayList;->(I)V
-
- invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
-
- move-result-object p1
-
- :goto_0
- invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
-
- move-result v1
-
- if-eqz v1, :cond_0
-
- invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
-
- move-result-object v1
-
- check-cast v1, Lcom/discord/models/gifpicker/dto/GifDto;
-
- sget-object v2, Lcom/discord/models/gifpicker/dto/ModelGif;->Companion:Lcom/discord/models/gifpicker/dto/ModelGif$Companion;
-
- invoke-virtual {v2, v1}, Lcom/discord/models/gifpicker/dto/ModelGif$Companion;->createFromGifDto(Lcom/discord/models/gifpicker/dto/GifDto;)Lcom/discord/models/gifpicker/dto/ModelGif;
-
- move-result-object v1
-
- invoke-interface {v0, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
-
- goto :goto_0
-
- :cond_0
return-object v0
.end method
+
+.method public final invoke()V
+ .locals 1
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ invoke-static {v0}, Lcom/discord/stores/StoreGifPicker;->access$getTrendingCategoryGifs$p(Lcom/discord/stores/StoreGifPicker;)Ljava/util/List;
+
+ move-result-object v0
+
+ invoke-interface {v0}, Ljava/util/List;->isEmpty()Z
+
+ move-result v0
+
+ if-eqz v0, :cond_0
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ invoke-static {v0}, Lcom/discord/stores/StoreGifPicker;->access$isFetchingTrendingCategoryGifs$p(Lcom/discord/stores/StoreGifPicker;)Z
+
+ move-result v0
+
+ if-nez v0, :cond_0
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$1;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ invoke-static {v0}, Lcom/discord/stores/StoreGifPicker;->access$fetchTrendingCategoryGifs(Lcom/discord/stores/StoreGifPicker;)V
+
+ :cond_0
+ return-void
+.end method
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$2.smali b/com.discord/smali/com/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$2.smali
new file mode 100644
index 0000000000..05e074f980
--- /dev/null
+++ b/com.discord/smali/com/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$2.smali
@@ -0,0 +1,78 @@
+.class public final Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$2;
+.super Lj0/n/c/i;
+.source "StoreGifPicker.kt"
+
+# interfaces
+.implements Lkotlin/jvm/functions/Function0;
+
+
+# annotations
+.annotation system Ldalvik/annotation/EnclosingMethod;
+ value = Lcom/discord/stores/StoreGifPicker;->observeTrendingCategoryGifs()Lrx/Observable;
+.end annotation
+
+.annotation system Ldalvik/annotation/InnerClass;
+ accessFlags = 0x19
+ name = null
+.end annotation
+
+.annotation system Ldalvik/annotation/Signature;
+ value = {
+ "Lj0/n/c/i;",
+ "Lkotlin/jvm/functions/Function0<",
+ "Ljava/util/List<",
+ "+",
+ "Lcom/discord/models/gifpicker/dto/ModelGif;",
+ ">;>;"
+ }
+.end annotation
+
+
+# instance fields
+.field public final synthetic this$0:Lcom/discord/stores/StoreGifPicker;
+
+
+# direct methods
+.method public constructor (Lcom/discord/stores/StoreGifPicker;)V
+ .locals 0
+
+ iput-object p1, p0, Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$2;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ const/4 p1, 0x0
+
+ invoke-direct {p0, p1}, Lj0/n/c/i;->(I)V
+
+ return-void
+.end method
+
+
+# virtual methods
+.method public bridge synthetic invoke()Ljava/lang/Object;
+ .locals 1
+
+ invoke-virtual {p0}, Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$2;->invoke()Ljava/util/List;
+
+ move-result-object v0
+
+ return-object v0
+.end method
+
+.method public final invoke()Ljava/util/List;
+ .locals 1
+ .annotation system Ldalvik/annotation/Signature;
+ value = {
+ "()",
+ "Ljava/util/List<",
+ "Lcom/discord/models/gifpicker/dto/ModelGif;",
+ ">;"
+ }
+ .end annotation
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$2;->this$0:Lcom/discord/stores/StoreGifPicker;
+
+ invoke-static {v0}, Lcom/discord/stores/StoreGifPicker;->access$getTrendingCategoryGifs(Lcom/discord/stores/StoreGifPicker;)Ljava/util/List;
+
+ move-result-object v0
+
+ return-object v0
+.end method
diff --git a/com.discord/smali/com/discord/stores/StoreGifPicker.smali b/com.discord/smali/com/discord/stores/StoreGifPicker.smali
index 662dc820c5..a6c3428b43 100644
--- a/com.discord/smali/com/discord/stores/StoreGifPicker.smali
+++ b/com.discord/smali/com/discord/stores/StoreGifPicker.smali
@@ -15,16 +15,6 @@
# static fields
.field public static final Companion:Lcom/discord/stores/StoreGifPicker$Companion;
-.field public static final gifCategoriesLoadingList:Ljava/util/List;
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "Ljava/util/List<",
- "Lcom/discord/models/gifpicker/domain/ModelGifCategory;",
- ">;"
- }
- .end annotation
-.end field
-
.field public static final searchResultsLoadingList:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
@@ -126,6 +116,12 @@
.end annotation
.end field
+.field public isFetchingGifCategories:Z
+
+.field public isFetchingTrendingCategoryGifs:Z
+
+.field public isFetchingTrendingSearchTerms:Z
+
.field public final observationDeck:Lcom/discord/stores/updates/ObservationDeck;
.field public final restAPI:Lcom/discord/utilities/rest/RestAPI;
@@ -145,6 +141,26 @@
.end annotation
.end field
+.field public final trendingCategoryGifs:Ljava/util/List;
+ .annotation system Ldalvik/annotation/Signature;
+ value = {
+ "Ljava/util/List<",
+ "Lcom/discord/models/gifpicker/dto/ModelGif;",
+ ">;"
+ }
+ .end annotation
+.end field
+
+.field public trendingCategoryGifsSnapshot:Ljava/util/List;
+ .annotation system Ldalvik/annotation/Signature;
+ value = {
+ "Ljava/util/List<",
+ "Lcom/discord/models/gifpicker/dto/ModelGif;",
+ ">;"
+ }
+ .end annotation
+.end field
+
.field public trendingGifCategoryPreviewUrl:Ljava/lang/String;
@@ -166,8 +182,6 @@
sput-object v0, Lcom/discord/stores/StoreGifPicker;->searchTermsLoadingList:Ljava/util/List;
- sput-object v0, Lcom/discord/stores/StoreGifPicker;->gifCategoriesLoadingList:Ljava/util/List;
-
return-void
.end method
@@ -206,6 +220,10 @@
iput-object p1, p0, Lcom/discord/stores/StoreGifPicker;->suggestedSearchTermsSnapshot:Ljava/util/Map;
+ sget-object p1, Lj0/i/n;->d:Lj0/i/n;
+
+ iput-object p1, p0, Lcom/discord/stores/StoreGifPicker;->trendingCategoryGifsSnapshot:Ljava/util/List;
+
new-instance p1, Ljava/util/ArrayList;
invoke-direct {p1}, Ljava/util/ArrayList;->()V
@@ -218,6 +236,12 @@
iput-object p1, p0, Lcom/discord/stores/StoreGifPicker;->gifTrendingSearchTerms:Ljava/util/List;
+ new-instance p1, Ljava/util/ArrayList;
+
+ invoke-direct {p1}, Ljava/util/ArrayList;->()V
+
+ iput-object p1, p0, Lcom/discord/stores/StoreGifPicker;->trendingCategoryGifs:Ljava/util/List;
+
const-string p1, ""
iput-object p1, p0, Lcom/discord/stores/StoreGifPicker;->trendingGifCategoryPreviewUrl:Ljava/lang/String;
@@ -293,6 +317,14 @@
return-void
.end method
+.method public static final synthetic access$fetchGifTrendingSearchTerms(Lcom/discord/stores/StoreGifPicker;)V
+ .locals 0
+
+ invoke-direct {p0}, Lcom/discord/stores/StoreGifPicker;->fetchGifTrendingSearchTerms()V
+
+ return-void
+.end method
+
.method public static final synthetic access$fetchGifsForSearchQuery(Lcom/discord/stores/StoreGifPicker;Ljava/lang/String;)V
.locals 0
@@ -309,6 +341,14 @@
return-void
.end method
+.method public static final synthetic access$fetchTrendingCategoryGifs(Lcom/discord/stores/StoreGifPicker;)V
+ .locals 0
+
+ invoke-direct {p0}, Lcom/discord/stores/StoreGifPicker;->fetchTrendingCategoryGifs()V
+
+ return-void
+.end method
+
.method public static final synthetic access$getDispatcher$p(Lcom/discord/stores/StoreGifPicker;)Lcom/discord/stores/Dispatcher;
.locals 0
@@ -335,14 +375,6 @@
return-object p0
.end method
-.method public static final synthetic access$getGifCategoriesLoadingList$cp()Ljava/util/List;
- .locals 1
-
- sget-object v0, Lcom/discord/stores/StoreGifPicker;->gifCategoriesLoadingList:Ljava/util/List;
-
- return-object v0
-.end method
-
.method public static final synthetic access$getGifSearchHistory$p(Lcom/discord/stores/StoreGifPicker;)Lcom/discord/stores/StoreGifPicker$CacheHistory;
.locals 0
@@ -369,6 +401,14 @@
return-object p0
.end method
+.method public static final synthetic access$getGifTrendingSearchTerms$p(Lcom/discord/stores/StoreGifPicker;)Ljava/util/List;
+ .locals 0
+
+ iget-object p0, p0, Lcom/discord/stores/StoreGifPicker;->gifTrendingSearchTerms:Ljava/util/List;
+
+ return-object p0
+.end method
+
.method public static final synthetic access$getSearchHistory(Lcom/discord/stores/StoreGifPicker;)Ljava/util/Map;
.locals 0
@@ -405,6 +445,24 @@
return-object p0
.end method
+.method public static final synthetic access$getTrendingCategoryGifs(Lcom/discord/stores/StoreGifPicker;)Ljava/util/List;
+ .locals 0
+
+ invoke-direct {p0}, Lcom/discord/stores/StoreGifPicker;->getTrendingCategoryGifs()Ljava/util/List;
+
+ move-result-object p0
+
+ return-object p0
+.end method
+
+.method public static final synthetic access$getTrendingCategoryGifs$p(Lcom/discord/stores/StoreGifPicker;)Ljava/util/List;
+ .locals 0
+
+ iget-object p0, p0, Lcom/discord/stores/StoreGifPicker;->trendingCategoryGifs:Ljava/util/List;
+
+ return-object p0
+.end method
+
.method public static final synthetic access$getTrendingGifCategoryPreviewUrl(Lcom/discord/stores/StoreGifPicker;)Ljava/lang/String;
.locals 0
@@ -415,6 +473,54 @@
return-object p0
.end method
+.method public static final synthetic access$handleFetchGifCategoriesError(Lcom/discord/stores/StoreGifPicker;Lcom/discord/utilities/error/Error;)V
+ .locals 0
+
+ invoke-direct {p0, p1}, Lcom/discord/stores/StoreGifPicker;->handleFetchGifCategoriesError(Lcom/discord/utilities/error/Error;)V
+
+ return-void
+.end method
+
+.method public static final synthetic access$handleFetchGifCategoriesOnNext(Lcom/discord/stores/StoreGifPicker;Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;)V
+ .locals 0
+
+ invoke-direct {p0, p1}, Lcom/discord/stores/StoreGifPicker;->handleFetchGifCategoriesOnNext(Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;)V
+
+ return-void
+.end method
+
+.method public static final synthetic access$handleFetchTrendingGifsError(Lcom/discord/stores/StoreGifPicker;Lcom/discord/utilities/error/Error;)V
+ .locals 0
+
+ invoke-direct {p0, p1}, Lcom/discord/stores/StoreGifPicker;->handleFetchTrendingGifsError(Lcom/discord/utilities/error/Error;)V
+
+ return-void
+.end method
+
+.method public static final synthetic access$handleFetchTrendingGifsOnNext(Lcom/discord/stores/StoreGifPicker;Ljava/util/List;)V
+ .locals 0
+
+ invoke-direct {p0, p1}, Lcom/discord/stores/StoreGifPicker;->handleFetchTrendingGifsOnNext(Ljava/util/List;)V
+
+ return-void
+.end method
+
+.method public static final synthetic access$handleFetchTrendingSearchTermsError(Lcom/discord/stores/StoreGifPicker;Lcom/discord/utilities/error/Error;)V
+ .locals 0
+
+ invoke-direct {p0, p1}, Lcom/discord/stores/StoreGifPicker;->handleFetchTrendingSearchTermsError(Lcom/discord/utilities/error/Error;)V
+
+ return-void
+.end method
+
+.method public static final synthetic access$handleFetchTrendingSearchTermsOnNext(Lcom/discord/stores/StoreGifPicker;Ljava/util/List;)V
+ .locals 0
+
+ invoke-direct {p0, p1}, Lcom/discord/stores/StoreGifPicker;->handleFetchTrendingSearchTermsOnNext(Ljava/util/List;)V
+
+ return-void
+.end method
+
.method public static final synthetic access$handleGifSearchResults(Lcom/discord/stores/StoreGifPicker;Ljava/lang/String;Ljava/util/List;)V
.locals 0
@@ -439,18 +545,126 @@
return-void
.end method
-.method public static final synthetic access$handleTrendingSearchTermsResponse(Lcom/discord/stores/StoreGifPicker;Ljava/util/List;)V
+.method public static final synthetic access$isFetchingGifCategories$p(Lcom/discord/stores/StoreGifPicker;)Z
.locals 0
- invoke-direct {p0, p1}, Lcom/discord/stores/StoreGifPicker;->handleTrendingSearchTermsResponse(Ljava/util/List;)V
+ iget-boolean p0, p0, Lcom/discord/stores/StoreGifPicker;->isFetchingGifCategories:Z
+
+ return p0
+.end method
+
+.method public static final synthetic access$isFetchingTrendingCategoryGifs$p(Lcom/discord/stores/StoreGifPicker;)Z
+ .locals 0
+
+ iget-boolean p0, p0, Lcom/discord/stores/StoreGifPicker;->isFetchingTrendingCategoryGifs:Z
+
+ return p0
+.end method
+
+.method public static final synthetic access$isFetchingTrendingSearchTerms$p(Lcom/discord/stores/StoreGifPicker;)Z
+ .locals 0
+
+ iget-boolean p0, p0, Lcom/discord/stores/StoreGifPicker;->isFetchingTrendingSearchTerms:Z
+
+ return p0
+.end method
+
+.method public static final synthetic access$setFetchingGifCategories$p(Lcom/discord/stores/StoreGifPicker;Z)V
+ .locals 0
+
+ iput-boolean p1, p0, Lcom/discord/stores/StoreGifPicker;->isFetchingGifCategories:Z
return-void
.end method
-.method public static final synthetic access$updateGifCategories(Lcom/discord/stores/StoreGifPicker;Ljava/util/List;)V
+.method public static final synthetic access$setFetchingTrendingCategoryGifs$p(Lcom/discord/stores/StoreGifPicker;Z)V
.locals 0
- invoke-direct {p0, p1}, Lcom/discord/stores/StoreGifPicker;->updateGifCategories(Ljava/util/List;)V
+ iput-boolean p1, p0, Lcom/discord/stores/StoreGifPicker;->isFetchingTrendingCategoryGifs:Z
+
+ return-void
+.end method
+
+.method public static final synthetic access$setFetchingTrendingSearchTerms$p(Lcom/discord/stores/StoreGifPicker;Z)V
+ .locals 0
+
+ iput-boolean p1, p0, Lcom/discord/stores/StoreGifPicker;->isFetchingTrendingSearchTerms:Z
+
+ return-void
+.end method
+
+.method public static final synthetic access$updateTrendingCategoryGifs(Lcom/discord/stores/StoreGifPicker;Ljava/util/List;)V
+ .locals 0
+
+ invoke-direct {p0, p1}, Lcom/discord/stores/StoreGifPicker;->updateTrendingCategoryGifs(Ljava/util/List;)V
+
+ return-void
+.end method
+
+.method public static final synthetic access$updateTrendingSearchTerms(Lcom/discord/stores/StoreGifPicker;Ljava/util/List;)V
+ .locals 0
+
+ invoke-direct {p0, p1}, Lcom/discord/stores/StoreGifPicker;->updateTrendingSearchTerms(Ljava/util/List;)V
+
+ return-void
+.end method
+
+.method private final fetchGifTrendingSearchTerms()V
+ .locals 13
+
+ const/4 v0, 0x1
+
+ iput-boolean v0, p0, Lcom/discord/stores/StoreGifPicker;->isFetchingTrendingSearchTerms:Z
+
+ iget-object v1, p0, Lcom/discord/stores/StoreGifPicker;->restAPI:Lcom/discord/utilities/rest/RestAPI;
+
+ iget-object v2, p0, Lcom/discord/stores/StoreGifPicker;->storeUserSettings:Lcom/discord/stores/StoreUserSettings;
+
+ invoke-virtual {v2}, Lcom/discord/stores/StoreUserSettings;->getLocale()Ljava/lang/String;
+
+ move-result-object v2
+
+ const-string v3, "storeUserSettings.locale"
+
+ invoke-static {v2, v3}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
+
+ const-string v3, "tenor"
+
+ const/4 v4, 0x5
+
+ invoke-virtual {v1, v3, v2, v4}, Lcom/discord/utilities/rest/RestAPI;->getGifTrendingSearchTerms(Ljava/lang/String;Ljava/lang/String;I)Lrx/Observable;
+
+ move-result-object v1
+
+ const/4 v2, 0x0
+
+ const/4 v3, 0x0
+
+ invoke-static {v1, v2, v0, v3}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
+
+ move-result-object v4
+
+ const-class v5, Lcom/discord/stores/StoreGifPicker;
+
+ new-instance v8, Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1;
+
+ invoke-direct {v8, p0}, Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1;->(Lcom/discord/stores/StoreGifPicker;)V
+
+ new-instance v10, Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$2;
+
+ invoke-direct {v10, p0}, Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$2;->(Lcom/discord/stores/StoreGifPicker;)V
+
+ const/4 v6, 0x0
+
+ const/4 v7, 0x0
+
+ const/4 v9, 0x0
+
+ const/16 v11, 0x16
+
+ const/4 v12, 0x0
+
+ invoke-static/range {v4 .. v12}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
return-void
.end method
@@ -605,6 +819,78 @@
return-void
.end method
+.method private final fetchTrendingCategoryGifs()V
+ .locals 13
+
+ const/4 v0, 0x1
+
+ iput-boolean v0, p0, Lcom/discord/stores/StoreGifPicker;->isFetchingTrendingCategoryGifs:Z
+
+ iget-object v1, p0, Lcom/discord/stores/StoreGifPicker;->restAPI:Lcom/discord/utilities/rest/RestAPI;
+
+ iget-object v2, p0, Lcom/discord/stores/StoreGifPicker;->storeUserSettings:Lcom/discord/stores/StoreUserSettings;
+
+ invoke-virtual {v2}, Lcom/discord/stores/StoreUserSettings;->getLocale()Ljava/lang/String;
+
+ move-result-object v2
+
+ const-string v3, "storeUserSettings.locale"
+
+ invoke-static {v2, v3}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
+
+ const-string v3, "tenor"
+
+ const-string v4, "tinygif"
+
+ const/16 v5, 0x32
+
+ invoke-virtual {v1, v3, v2, v4, v5}, Lcom/discord/utilities/rest/RestAPI;->getTrendingGifCategory(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Lrx/Observable;
+
+ move-result-object v1
+
+ sget-object v2, Lcom/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$1;->INSTANCE:Lcom/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$1;
+
+ invoke-virtual {v1, v2}, Lrx/Observable;->D(Lr0/k/b;)Lrx/Observable;
+
+ move-result-object v1
+
+ const-string v2, "restAPI.getTrendingGifCa\u2026to)\n }\n }"
+
+ invoke-static {v1, v2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
+
+ const/4 v2, 0x0
+
+ const/4 v3, 0x0
+
+ invoke-static {v1, v2, v0, v3}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
+
+ move-result-object v4
+
+ const-class v5, Lcom/discord/stores/StoreGifPicker;
+
+ new-instance v8, Lcom/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$2;
+
+ invoke-direct {v8, p0}, Lcom/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$2;->(Lcom/discord/stores/StoreGifPicker;)V
+
+ new-instance v10, Lcom/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$3;
+
+ invoke-direct {v10, p0}, Lcom/discord/stores/StoreGifPicker$fetchTrendingCategoryGifs$3;->(Lcom/discord/stores/StoreGifPicker;)V
+
+ const/4 v6, 0x0
+
+ const/4 v7, 0x0
+
+ const/4 v9, 0x0
+
+ const/16 v11, 0x16
+
+ const/4 v12, 0x0
+
+ invoke-static/range {v4 .. v12}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
+
+ return-void
+.end method
+
.method private final getGifCategories()Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
@@ -673,6 +959,22 @@
return-object v0
.end method
+.method private final getTrendingCategoryGifs()Ljava/util/List;
+ .locals 1
+ .annotation system Ldalvik/annotation/Signature;
+ value = {
+ "()",
+ "Ljava/util/List<",
+ "Lcom/discord/models/gifpicker/dto/ModelGif;",
+ ">;"
+ }
+ .end annotation
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker;->trendingCategoryGifsSnapshot:Ljava/util/List;
+
+ return-object v0
+.end method
+
.method private final getTrendingGifCategoryPreviewUrl()Ljava/lang/String;
.locals 1
@@ -681,6 +983,106 @@
return-object v0
.end method
+.method private final handleFetchGifCategoriesError(Lcom/discord/utilities/error/Error;)V
+ .locals 1
+
+ iget-object p1, p0, Lcom/discord/stores/StoreGifPicker;->dispatcher:Lcom/discord/stores/Dispatcher;
+
+ new-instance v0, Lcom/discord/stores/StoreGifPicker$handleFetchGifCategoriesError$1;
+
+ invoke-direct {v0, p0}, Lcom/discord/stores/StoreGifPicker$handleFetchGifCategoriesError$1;->(Lcom/discord/stores/StoreGifPicker;)V
+
+ invoke-virtual {p1, v0}, Lcom/discord/stores/Dispatcher;->schedule(Lkotlin/jvm/functions/Function0;)V
+
+ return-void
+.end method
+
+.method private final handleFetchGifCategoriesOnNext(Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;)V
+ .locals 2
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker;->dispatcher:Lcom/discord/stores/Dispatcher;
+
+ new-instance v1, Lcom/discord/stores/StoreGifPicker$handleFetchGifCategoriesOnNext$1;
+
+ invoke-direct {v1, p0, p1}, Lcom/discord/stores/StoreGifPicker$handleFetchGifCategoriesOnNext$1;->(Lcom/discord/stores/StoreGifPicker;Lcom/discord/models/gifpicker/dto/TrendingGifCategoriesResponseDto;)V
+
+ invoke-virtual {v0, v1}, Lcom/discord/stores/Dispatcher;->schedule(Lkotlin/jvm/functions/Function0;)V
+
+ return-void
+.end method
+
+.method private final handleFetchTrendingGifsError(Lcom/discord/utilities/error/Error;)V
+ .locals 1
+
+ iget-object p1, p0, Lcom/discord/stores/StoreGifPicker;->dispatcher:Lcom/discord/stores/Dispatcher;
+
+ new-instance v0, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingGifsError$1;
+
+ invoke-direct {v0, p0}, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingGifsError$1;->(Lcom/discord/stores/StoreGifPicker;)V
+
+ invoke-virtual {p1, v0}, Lcom/discord/stores/Dispatcher;->schedule(Lkotlin/jvm/functions/Function0;)V
+
+ return-void
+.end method
+
+.method private final handleFetchTrendingGifsOnNext(Ljava/util/List;)V
+ .locals 2
+ .annotation system Ldalvik/annotation/Signature;
+ value = {
+ "(",
+ "Ljava/util/List<",
+ "Lcom/discord/models/gifpicker/dto/ModelGif;",
+ ">;)V"
+ }
+ .end annotation
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker;->dispatcher:Lcom/discord/stores/Dispatcher;
+
+ new-instance v1, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingGifsOnNext$1;
+
+ invoke-direct {v1, p0, p1}, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingGifsOnNext$1;->(Lcom/discord/stores/StoreGifPicker;Ljava/util/List;)V
+
+ invoke-virtual {v0, v1}, Lcom/discord/stores/Dispatcher;->schedule(Lkotlin/jvm/functions/Function0;)V
+
+ return-void
+.end method
+
+.method private final handleFetchTrendingSearchTermsError(Lcom/discord/utilities/error/Error;)V
+ .locals 1
+
+ iget-object p1, p0, Lcom/discord/stores/StoreGifPicker;->dispatcher:Lcom/discord/stores/Dispatcher;
+
+ new-instance v0, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsError$1;
+
+ invoke-direct {v0, p0}, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsError$1;->(Lcom/discord/stores/StoreGifPicker;)V
+
+ invoke-virtual {p1, v0}, Lcom/discord/stores/Dispatcher;->schedule(Lkotlin/jvm/functions/Function0;)V
+
+ return-void
+.end method
+
+.method private final handleFetchTrendingSearchTermsOnNext(Ljava/util/List;)V
+ .locals 2
+ .annotation system Ldalvik/annotation/Signature;
+ value = {
+ "(",
+ "Ljava/util/List<",
+ "Ljava/lang/String;",
+ ">;)V"
+ }
+ .end annotation
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker;->dispatcher:Lcom/discord/stores/Dispatcher;
+
+ new-instance v1, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsOnNext$1;
+
+ invoke-direct {v1, p0, p1}, Lcom/discord/stores/StoreGifPicker$handleFetchTrendingSearchTermsOnNext$1;->(Lcom/discord/stores/StoreGifPicker;Ljava/util/List;)V
+
+ invoke-virtual {v0, v1}, Lcom/discord/stores/Dispatcher;->schedule(Lkotlin/jvm/functions/Function0;)V
+
+ return-void
+.end method
+
.method private final handleGifSearchResults(Ljava/lang/String;Ljava/util/List;)V
.locals 1
.annotation runtime Lcom/discord/stores/StoreThread;
@@ -821,33 +1223,6 @@
return-void
.end method
-.method private final handleTrendingSearchTermsResponse(Ljava/util/List;)V
- .locals 1
- .annotation runtime Lcom/discord/stores/StoreThread;
- .end annotation
-
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "(",
- "Ljava/util/List<",
- "Ljava/lang/String;",
- ">;)V"
- }
- .end annotation
-
- iget-object v0, p0, Lcom/discord/stores/StoreGifPicker;->gifTrendingSearchTerms:Ljava/util/List;
-
- invoke-interface {v0}, Ljava/util/List;->clear()V
-
- iget-object v0, p0, Lcom/discord/stores/StoreGifPicker;->gifTrendingSearchTerms:Ljava/util/List;
-
- invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
-
- invoke-virtual {p0}, Lcom/discord/stores/StoreV2;->markChanged()V
-
- return-void
-.end method
-
.method private final observeSearchHistory()Lrx/Observable;
.locals 7
.annotation system Ldalvik/annotation/Signature;
@@ -961,124 +1336,114 @@
return-void
.end method
+.method private final updateTrendingCategoryGifs(Ljava/util/List;)V
+ .locals 1
+ .annotation runtime Lcom/discord/stores/StoreThread;
+ .end annotation
-# virtual methods
-.method public final fetchGifCategories()V
- .locals 11
+ .annotation system Ldalvik/annotation/Signature;
+ value = {
+ "(",
+ "Ljava/util/List<",
+ "Lcom/discord/models/gifpicker/dto/ModelGif;",
+ ">;)V"
+ }
+ .end annotation
- iget-object v0, p0, Lcom/discord/stores/StoreGifPicker;->restAPI:Lcom/discord/utilities/rest/RestAPI;
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker;->trendingCategoryGifs:Ljava/util/List;
- iget-object v1, p0, Lcom/discord/stores/StoreGifPicker;->storeUserSettings:Lcom/discord/stores/StoreUserSettings;
+ invoke-interface {v0}, Ljava/util/List;->clear()V
- invoke-virtual {v1}, Lcom/discord/stores/StoreUserSettings;->getLocale()Ljava/lang/String;
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker;->trendingCategoryGifs:Ljava/util/List;
- move-result-object v1
+ invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
- const-string v2, "storeUserSettings.locale"
-
- invoke-static {v1, v2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
-
- const-string v2, "tenor"
-
- const-string v3, "tinygif"
-
- invoke-virtual {v0, v2, v1, v3}, Lcom/discord/utilities/rest/RestAPI;->getTrendingGifCategories(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lrx/Observable;
-
- move-result-object v0
-
- const/4 v1, 0x0
-
- const/4 v2, 0x1
-
- const/4 v3, 0x0
-
- invoke-static {v0, v1, v2, v3}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
-
- move-result-object v0
-
- new-instance v1, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$1;
-
- invoke-direct {v1, p0}, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$1;->(Lcom/discord/stores/StoreGifPicker;)V
-
- invoke-virtual {v0, v1}, Lrx/Observable;->r(Lrx/functions/Action1;)Lrx/Observable;
-
- move-result-object v2
-
- const-string v0, "restAPI.getTrendingGifCa\u2026 = emptyList())\n }"
-
- invoke-static {v2, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
-
- const-class v3, Lcom/discord/stores/StoreGifPicker;
-
- new-instance v8, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2;
-
- invoke-direct {v8, p0}, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2;->(Lcom/discord/stores/StoreGifPicker;)V
-
- const/4 v4, 0x0
-
- const/4 v5, 0x0
-
- const/4 v6, 0x0
-
- const/4 v7, 0x0
-
- const/16 v9, 0x1e
-
- const/4 v10, 0x0
-
- invoke-static/range {v2 .. v10}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
+ invoke-virtual {p0}, Lcom/discord/stores/StoreV2;->markChanged()V
return-void
.end method
-.method public final fetchGifTrendingSearchTerms()V
+.method private final updateTrendingSearchTerms(Ljava/util/List;)V
+ .locals 1
+ .annotation runtime Lcom/discord/stores/StoreThread;
+ .end annotation
+
+ .annotation system Ldalvik/annotation/Signature;
+ value = {
+ "(",
+ "Ljava/util/List<",
+ "Ljava/lang/String;",
+ ">;)V"
+ }
+ .end annotation
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker;->gifTrendingSearchTerms:Ljava/util/List;
+
+ invoke-interface {v0}, Ljava/util/List;->clear()V
+
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker;->gifTrendingSearchTerms:Ljava/util/List;
+
+ invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
+
+ invoke-virtual {p0}, Lcom/discord/stores/StoreV2;->markChanged()V
+
+ return-void
+.end method
+
+
+# virtual methods
+.method public final fetchGifCategories()V
.locals 13
- iget-object v0, p0, Lcom/discord/stores/StoreGifPicker;->restAPI:Lcom/discord/utilities/rest/RestAPI;
+ const/4 v0, 0x1
- iget-object v1, p0, Lcom/discord/stores/StoreGifPicker;->storeUserSettings:Lcom/discord/stores/StoreUserSettings;
+ iput-boolean v0, p0, Lcom/discord/stores/StoreGifPicker;->isFetchingGifCategories:Z
- invoke-virtual {v1}, Lcom/discord/stores/StoreUserSettings;->getLocale()Ljava/lang/String;
+ iget-object v1, p0, Lcom/discord/stores/StoreGifPicker;->restAPI:Lcom/discord/utilities/rest/RestAPI;
+
+ iget-object v2, p0, Lcom/discord/stores/StoreGifPicker;->storeUserSettings:Lcom/discord/stores/StoreUserSettings;
+
+ invoke-virtual {v2}, Lcom/discord/stores/StoreUserSettings;->getLocale()Ljava/lang/String;
+
+ move-result-object v2
+
+ const-string v3, "storeUserSettings.locale"
+
+ invoke-static {v2, v3}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
+
+ const-string v3, "tenor"
+
+ const-string v4, "tinygif"
+
+ invoke-virtual {v1, v3, v2, v4}, Lcom/discord/utilities/rest/RestAPI;->getTrendingGifCategories(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lrx/Observable;
move-result-object v1
- const-string v2, "storeUserSettings.locale"
-
- invoke-static {v1, v2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
-
- const-string v2, "tenor"
-
- const/4 v3, 0x5
-
- invoke-virtual {v0, v2, v1, v3}, Lcom/discord/utilities/rest/RestAPI;->getGifTrendingSearchTerms(Ljava/lang/String;Ljava/lang/String;I)Lrx/Observable;
-
- move-result-object v0
-
- const/4 v1, 0x0
-
- const/4 v2, 0x1
+ const/4 v2, 0x0
const/4 v3, 0x0
- invoke-static {v0, v1, v2, v3}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
+ invoke-static {v1, v2, v0, v3}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
move-result-object v4
const-class v5, Lcom/discord/stores/StoreGifPicker;
- new-instance v10, Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1;
+ new-instance v8, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$1;
- invoke-direct {v10, p0}, Lcom/discord/stores/StoreGifPicker$fetchGifTrendingSearchTerms$1;->(Lcom/discord/stores/StoreGifPicker;)V
+ invoke-direct {v8, p0}, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$1;->(Lcom/discord/stores/StoreGifPicker;)V
+
+ new-instance v10, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2;
+
+ invoke-direct {v10, p0}, Lcom/discord/stores/StoreGifPicker$fetchGifCategories$2;->(Lcom/discord/stores/StoreGifPicker;)V
const/4 v6, 0x0
const/4 v7, 0x0
- const/4 v8, 0x0
-
const/4 v9, 0x0
- const/16 v11, 0x1e
+ const/16 v11, 0x16
const/4 v12, 0x0
@@ -1137,7 +1502,7 @@
.end method
.method public final observeGifTrendingSearchTerms()Lrx/Observable;
- .locals 7
+ .locals 9
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
@@ -1148,29 +1513,37 @@
}
.end annotation
- iget-object v0, p0, Lcom/discord/stores/StoreGifPicker;->observationDeck:Lcom/discord/stores/updates/ObservationDeck;
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker;->dispatcher:Lcom/discord/stores/Dispatcher;
- const/4 v1, 0x1
+ new-instance v1, Lcom/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$1;
- new-array v1, v1, [Lcom/discord/stores/updates/ObservationDeck$UpdateSource;
+ invoke-direct {v1, p0}, Lcom/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$1;->(Lcom/discord/stores/StoreGifPicker;)V
- const/4 v2, 0x0
+ invoke-virtual {v0, v1}, Lcom/discord/stores/Dispatcher;->schedule(Lkotlin/jvm/functions/Function0;)V
- aput-object p0, v1, v2
+ iget-object v2, p0, Lcom/discord/stores/StoreGifPicker;->observationDeck:Lcom/discord/stores/updates/ObservationDeck;
- new-instance v4, Lcom/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$1;
+ const/4 v0, 0x1
- invoke-direct {v4, p0}, Lcom/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$1;->(Lcom/discord/stores/StoreGifPicker;)V
+ new-array v3, v0, [Lcom/discord/stores/updates/ObservationDeck$UpdateSource;
- const/4 v2, 0x1
+ const/4 v0, 0x0
- const/4 v3, 0x0
+ aput-object p0, v3, v0
- const/4 v5, 0x4
+ new-instance v6, Lcom/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$2;
- const/4 v6, 0x0
+ invoke-direct {v6, p0}, Lcom/discord/stores/StoreGifPicker$observeGifTrendingSearchTerms$2;->(Lcom/discord/stores/StoreGifPicker;)V
- invoke-static/range {v0 .. v6}, Lcom/discord/stores/updates/ObservationDeck;->connectRx$default(Lcom/discord/stores/updates/ObservationDeck;[Lcom/discord/stores/updates/ObservationDeck$UpdateSource;ZLrx/Emitter$BackpressureMode;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Lrx/Observable;
+ const/4 v4, 0x1
+
+ const/4 v5, 0x0
+
+ const/4 v7, 0x4
+
+ const/4 v8, 0x0
+
+ invoke-static/range {v2 .. v8}, Lcom/discord/stores/updates/ObservationDeck;->connectRx$default(Lcom/discord/stores/updates/ObservationDeck;[Lcom/discord/stores/updates/ObservationDeck$UpdateSource;ZLrx/Emitter$BackpressureMode;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Lrx/Observable;
move-result-object v0
@@ -1314,7 +1687,7 @@
.end method
.method public final observeTrendingCategoryGifs()Lrx/Observable;
- .locals 5
+ .locals 9
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
@@ -1325,38 +1698,40 @@
}
.end annotation
- iget-object v0, p0, Lcom/discord/stores/StoreGifPicker;->restAPI:Lcom/discord/utilities/rest/RestAPI;
+ iget-object v0, p0, Lcom/discord/stores/StoreGifPicker;->dispatcher:Lcom/discord/stores/Dispatcher;
- iget-object v1, p0, Lcom/discord/stores/StoreGifPicker;->storeUserSettings:Lcom/discord/stores/StoreUserSettings;
+ new-instance v1, Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$1;
- invoke-virtual {v1}, Lcom/discord/stores/StoreUserSettings;->getLocale()Ljava/lang/String;
+ invoke-direct {v1, p0}, Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$1;->(Lcom/discord/stores/StoreGifPicker;)V
- move-result-object v1
+ invoke-virtual {v0, v1}, Lcom/discord/stores/Dispatcher;->schedule(Lkotlin/jvm/functions/Function0;)V
- const-string v2, "storeUserSettings.locale"
+ iget-object v2, p0, Lcom/discord/stores/StoreGifPicker;->observationDeck:Lcom/discord/stores/updates/ObservationDeck;
- invoke-static {v1, v2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
+ const/4 v0, 0x1
- const-string v2, "tenor"
+ new-array v3, v0, [Lcom/discord/stores/updates/ObservationDeck$UpdateSource;
- const-string v3, "tinygif"
+ const/4 v0, 0x0
- const/16 v4, 0x32
+ aput-object p0, v3, v0
- invoke-virtual {v0, v2, v1, v3, v4}, Lcom/discord/utilities/rest/RestAPI;->getTrendingGifCategory(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Lrx/Observable;
+ new-instance v6, Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$2;
+
+ invoke-direct {v6, p0}, Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$2;->(Lcom/discord/stores/StoreGifPicker;)V
+
+ const/4 v4, 0x1
+
+ const/4 v5, 0x0
+
+ const/4 v7, 0x4
+
+ const/4 v8, 0x0
+
+ invoke-static/range {v2 .. v8}, Lcom/discord/stores/updates/ObservationDeck;->connectRx$default(Lcom/discord/stores/updates/ObservationDeck;[Lcom/discord/stores/updates/ObservationDeck$UpdateSource;ZLrx/Emitter$BackpressureMode;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Lrx/Observable;
move-result-object v0
- sget-object v1, Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$1;->INSTANCE:Lcom/discord/stores/StoreGifPicker$observeTrendingCategoryGifs$1;
-
- invoke-virtual {v0, v1}, Lrx/Observable;->D(Lr0/k/b;)Lrx/Observable;
-
- move-result-object v0
-
- const-string v1, "restAPI.getTrendingGifCa\u2026to)\n }\n }"
-
- invoke-static {v0, v1}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
-
return-object v0
.end method
@@ -1437,5 +1812,13 @@
iput-object v0, p0, Lcom/discord/stores/StoreGifPicker;->suggestedSearchTermsSnapshot:Ljava/util/Map;
+ new-instance v0, Ljava/util/ArrayList;
+
+ iget-object v1, p0, Lcom/discord/stores/StoreGifPicker;->trendingCategoryGifs:Ljava/util/List;
+
+ invoke-direct {v0, v1}, Ljava/util/ArrayList;->(Ljava/util/Collection;)V
+
+ iput-object v0, p0, Lcom/discord/stores/StoreGifPicker;->trendingCategoryGifsSnapshot:Ljava/util/List;
+
return-void
.end method
diff --git a/com.discord/smali/com/discord/utilities/analytics/AnalyticSuperProperties.smali b/com.discord/smali/com/discord/utilities/analytics/AnalyticSuperProperties.smali
index b179c9e14a..f36b8c7a7a 100644
--- a/com.discord/smali/com/discord/utilities/analytics/AnalyticSuperProperties.smali
+++ b/com.discord/smali/com/discord/utilities/analytics/AnalyticSuperProperties.smali
@@ -177,7 +177,7 @@
const-string v3, "browser_user_agent"
- const-string v4, "Discord-Android/1209"
+ const-string v4, "Discord-Android/1211"
invoke-direct {v2, v3, v4}, Lkotlin/Pair;->(Ljava/lang/Object;Ljava/lang/Object;)V
@@ -185,7 +185,7 @@
const/4 v1, 0x2
- const/16 v2, 0x4b9
+ const/16 v2, 0x4bb
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
@@ -205,7 +205,7 @@
const-string v3, "client_version"
- const-string v4, "33.2"
+ const-string v4, "33.4"
invoke-direct {v2, v3, v4}, Lkotlin/Pair;->(Ljava/lang/Object;Ljava/lang/Object;)V
diff --git a/com.discord/smali/com/discord/utilities/rest/RestAPI$AppHeadersProvider.smali b/com.discord/smali/com/discord/utilities/rest/RestAPI$AppHeadersProvider.smali
index e230e1bc15..8eb5971034 100644
--- a/com.discord/smali/com/discord/utilities/rest/RestAPI$AppHeadersProvider.smali
+++ b/com.discord/smali/com/discord/utilities/rest/RestAPI$AppHeadersProvider.smali
@@ -159,7 +159,7 @@
.method public getUserAgent()Ljava/lang/String;
.locals 1
- const-string v0, "Discord-Android/1209"
+ const-string v0, "Discord-Android/1211"
return-object v0
.end method
diff --git a/com.discord/smali/com/discord/widgets/chat/input/AppFlexInputViewModel.smali b/com.discord/smali/com/discord/widgets/chat/input/AppFlexInputViewModel.smali
index 182b22a199..ed803ee109 100644
--- a/com.discord/smali/com/discord/widgets/chat/input/AppFlexInputViewModel.smali
+++ b/com.discord/smali/com/discord/widgets/chat/input/AppFlexInputViewModel.smali
@@ -294,14 +294,26 @@
const/4 v7, 0x0
:goto_4
- if-nez p1, :cond_6
+ iget-boolean v0, v1, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->g:Z
- if-eqz v3, :cond_7
+ if-nez p1, :cond_7
+
+ if-eqz v3, :cond_6
+
+ goto :goto_5
:cond_6
- invoke-direct {p0}, Lcom/discord/widgets/chat/input/AppFlexInputViewModel;->hideKeyboard()V
+ move v8, v0
+
+ goto :goto_6
:cond_7
+ :goto_5
+ invoke-direct {p0}, Lcom/discord/widgets/chat/input/AppFlexInputViewModel;->hideKeyboard()V
+
+ const/4 v8, 0x0
+
+ :goto_6
const/4 v2, 0x0
const/4 v3, 0x0
@@ -310,9 +322,7 @@
const/4 v5, 0x0
- const/4 v8, 0x0
-
- const/16 v9, 0x4f
+ const/16 v9, 0xf
invoke-static/range {v1 .. v9}, Lcom/lytefast/flexinput/viewmodel/FlexInputState;->a(Lcom/lytefast/flexinput/viewmodel/FlexInputState;Ljava/lang/String;ZLjava/util/List;Ljava/lang/Integer;ZZZI)Lcom/lytefast/flexinput/viewmodel/FlexInputState;
diff --git a/com.discord/smali/com/discord/widgets/chat/input/gifpicker/GifSearchViewModel$1.smali b/com.discord/smali/com/discord/widgets/chat/input/gifpicker/GifSearchViewModel$1.smali
index 64b5f3fba0..e40dd5d012 100644
--- a/com.discord/smali/com/discord/widgets/chat/input/gifpicker/GifSearchViewModel$1.smali
+++ b/com.discord/smali/com/discord/widgets/chat/input/gifpicker/GifSearchViewModel$1.smali
@@ -8,7 +8,7 @@
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
- value = Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel;->(Lcom/discord/stores/StoreGifPicker;Lrx/Observable;Lrx/subjects/BehaviorSubject;Lcom/discord/widgets/chat/MessageManager;Lcom/discord/stores/StoreAnalytics;)V
+ value = Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel;->(Lrx/Observable;Lrx/subjects/BehaviorSubject;Lcom/discord/widgets/chat/MessageManager;Lcom/discord/stores/StoreAnalytics;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
diff --git a/com.discord/smali/com/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory.smali b/com.discord/smali/com/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory.smali
index e7f9e3295a..d3103145d3 100644
--- a/com.discord/smali/com/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory.smali
+++ b/com.discord/smali/com/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory.smali
@@ -281,7 +281,7 @@
# virtual methods
.method public create(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
- .locals 20
+ .locals 14
.annotation system Ldalvik/annotation/Signature;
value = {
"storeGifPicker:Lcom/discord/stores/StoreGifPicker;
+ invoke-direct {p0}, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory;->observeStoreState()Lrx/Observable;
- invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory;->observeStoreState()Lrx/Observable;
+ move-result-object v1
- move-result-object v3
+ iget-object v2, p0, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory;->searchSubject:Lrx/subjects/BehaviorSubject;
- iget-object v4, v0, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory;->searchSubject:Lrx/subjects/BehaviorSubject;
+ new-instance v13, Lcom/discord/widgets/chat/MessageManager;
- new-instance v5, Lcom/discord/widgets/chat/MessageManager;
+ iget-object v4, p0, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory;->context:Landroid/content/Context;
- iget-object v11, v0, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory;->context:Landroid/content/Context;
-
- const/4 v12, 0x0
-
- const/4 v13, 0x0
-
- const/4 v14, 0x0
-
- const/4 v15, 0x0
-
- const/16 v16, 0x0
-
- const/16 v17, 0x0
-
- const/16 v18, 0x7e
-
- const/16 v19, 0x0
-
- move-object v10, v5
-
- invoke-direct/range {v10 .. v19}, Lcom/discord/widgets/chat/MessageManager;->(Landroid/content/Context;Lcom/discord/stores/StoreMessages;Lcom/discord/stores/StoreUser;Lcom/discord/stores/StoreChannelsSelected;Lcom/discord/stores/StoreSlowMode;Lcom/discord/stores/StoreGuilds;Lcom/discord/utilities/logging/Logger;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ const/4 v5, 0x0
const/4 v6, 0x0
- const/16 v7, 0x10
+ const/4 v7, 0x0
const/4 v8, 0x0
- move-object v1, v9
+ const/4 v9, 0x0
- invoke-direct/range {v1 .. v8}, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel;->(Lcom/discord/stores/StoreGifPicker;Lrx/Observable;Lrx/subjects/BehaviorSubject;Lcom/discord/widgets/chat/MessageManager;Lcom/discord/stores/StoreAnalytics;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ const/4 v10, 0x0
- return-object v9
+ const/16 v11, 0x7e
+
+ const/4 v12, 0x0
+
+ move-object v3, v13
+
+ invoke-direct/range {v3 .. v12}, Lcom/discord/widgets/chat/MessageManager;->(Landroid/content/Context;Lcom/discord/stores/StoreMessages;Lcom/discord/stores/StoreUser;Lcom/discord/stores/StoreChannelsSelected;Lcom/discord/stores/StoreSlowMode;Lcom/discord/stores/StoreGuilds;Lcom/discord/utilities/logging/Logger;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+
+ const/4 v4, 0x0
+
+ const/16 v5, 0x8
+
+ move-object v0, p1
+
+ invoke-direct/range {v0 .. v6}, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel;->(Lrx/Observable;Lrx/subjects/BehaviorSubject;Lcom/discord/widgets/chat/MessageManager;Lcom/discord/stores/StoreAnalytics;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+
+ return-object p1
:cond_0
- const-string v1, "modelClass"
+ const-string p1, "modelClass"
- invoke-static {v1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
+ invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
- const/4 v1, 0x0
+ const/4 p1, 0x0
- throw v1
+ throw p1
.end method
diff --git a/com.discord/smali/com/discord/widgets/chat/input/gifpicker/GifSearchViewModel.smali b/com.discord/smali/com/discord/widgets/chat/input/gifpicker/GifSearchViewModel.smali
index 30ca286a58..4a75b7b31e 100644
--- a/com.discord/smali/com/discord/widgets/chat/input/gifpicker/GifSearchViewModel.smali
+++ b/com.discord/smali/com/discord/widgets/chat/input/gifpicker/GifSearchViewModel.smali
@@ -48,12 +48,11 @@
# direct methods
-.method public constructor (Lcom/discord/stores/StoreGifPicker;Lrx/Observable;Lrx/subjects/BehaviorSubject;Lcom/discord/widgets/chat/MessageManager;Lcom/discord/stores/StoreAnalytics;)V
+.method public constructor (Lrx/Observable;Lrx/subjects/BehaviorSubject;Lcom/discord/widgets/chat/MessageManager;Lcom/discord/stores/StoreAnalytics;)V
.locals 10
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
- "Lcom/discord/stores/StoreGifPicker;",
"Lrx/Observable<",
"Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$StoreState;",
">;",
@@ -68,29 +67,23 @@
const/4 v0, 0x0
- if-eqz p1, :cond_4
+ if-eqz p1, :cond_3
- if-eqz p2, :cond_3
+ if-eqz p2, :cond_2
- if-eqz p3, :cond_2
+ if-eqz p3, :cond_1
- if-eqz p4, :cond_1
-
- if-eqz p5, :cond_0
+ if-eqz p4, :cond_0
invoke-direct {p0, v0}, Lf/a/b/o0;->(Ljava/lang/Object;)V
- iput-object p2, p0, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel;->storeStateObservable:Lrx/Observable;
+ iput-object p1, p0, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel;->storeStateObservable:Lrx/Observable;
- iput-object p3, p0, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel;->searchSubject:Lrx/subjects/BehaviorSubject;
+ iput-object p2, p0, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel;->searchSubject:Lrx/subjects/BehaviorSubject;
- iput-object p4, p0, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel;->messageManager:Lcom/discord/widgets/chat/MessageManager;
+ iput-object p3, p0, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel;->messageManager:Lcom/discord/widgets/chat/MessageManager;
- iput-object p5, p0, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel;->storeAnalytics:Lcom/discord/stores/StoreAnalytics;
-
- invoke-virtual {p1}, Lcom/discord/stores/StoreGifPicker;->fetchGifTrendingSearchTerms()V
-
- iget-object p1, p0, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel;->storeStateObservable:Lrx/Observable;
+ iput-object p4, p0, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel;->storeAnalytics:Lcom/discord/stores/StoreAnalytics;
const/4 p2, 0x2
@@ -147,42 +140,23 @@
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw v0
-
- :cond_4
- const-string p1, "storeGifPicker"
-
- invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
-
- throw v0
.end method
-.method public synthetic constructor (Lcom/discord/stores/StoreGifPicker;Lrx/Observable;Lrx/subjects/BehaviorSubject;Lcom/discord/widgets/chat/MessageManager;Lcom/discord/stores/StoreAnalytics;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
- .locals 6
+.method public synthetic constructor (Lrx/Observable;Lrx/subjects/BehaviorSubject;Lcom/discord/widgets/chat/MessageManager;Lcom/discord/stores/StoreAnalytics;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ .locals 0
- and-int/lit8 p6, p6, 0x10
+ and-int/lit8 p5, p5, 0x8
- if-eqz p6, :cond_0
+ if-eqz p5, :cond_0
- sget-object p5, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
+ sget-object p4, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
- invoke-virtual {p5}, Lcom/discord/stores/StoreStream$Companion;->getAnalytics()Lcom/discord/stores/StoreAnalytics;
+ invoke-virtual {p4}, Lcom/discord/stores/StoreStream$Companion;->getAnalytics()Lcom/discord/stores/StoreAnalytics;
- move-result-object p5
+ move-result-object p4
:cond_0
- move-object v5, p5
-
- move-object v0, p0
-
- move-object v1, p1
-
- move-object v2, p2
-
- move-object v3, p3
-
- move-object v4, p4
-
- invoke-direct/range {v0 .. v5}, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel;->(Lcom/discord/stores/StoreGifPicker;Lrx/Observable;Lrx/subjects/BehaviorSubject;Lcom/discord/widgets/chat/MessageManager;Lcom/discord/stores/StoreAnalytics;)V
+ invoke-direct {p0, p1, p2, p3, p4}, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel;->(Lrx/Observable;Lrx/subjects/BehaviorSubject;Lcom/discord/widgets/chat/MessageManager;Lcom/discord/stores/StoreAnalytics;)V
return-void
.end method
diff --git a/com.discord/smali/com/discord/widgets/debugging/WidgetFatalCrash.smali b/com.discord/smali/com/discord/widgets/debugging/WidgetFatalCrash.smali
index e32988a150..87ad73f20c 100644
--- a/com.discord/smali/com/discord/widgets/debugging/WidgetFatalCrash.smali
+++ b/com.discord/smali/com/discord/widgets/debugging/WidgetFatalCrash.smali
@@ -480,7 +480,7 @@
new-array v1, v2, [Ljava/lang/Object;
- const-string v3, "33.2"
+ const-string v3, "33.4"
aput-object v3, v1, v5
diff --git a/com.discord/smali/com/discord/widgets/home/WidgetHome.smali b/com.discord/smali/com/discord/widgets/home/WidgetHome.smali
index 367098893c..5f5d286146 100644
--- a/com.discord/smali/com/discord/widgets/home/WidgetHome.smali
+++ b/com.discord/smali/com/discord/widgets/home/WidgetHome.smali
@@ -1245,7 +1245,7 @@
.method private final handleEvent(Lcom/discord/widgets/home/WidgetHomeViewModel$Event;)V
.locals 2
- sget-object v0, Lcom/discord/widgets/home/WidgetHomeViewModel$Event$HideKeyboard;->INSTANCE:Lcom/discord/widgets/home/WidgetHomeViewModel$Event$HideKeyboard;
+ sget-object v0, Lcom/discord/widgets/home/WidgetHomeViewModel$Event$OpenLeftPanel;->INSTANCE:Lcom/discord/widgets/home/WidgetHomeViewModel$Event$OpenLeftPanel;
invoke-static {p1, v0}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
@@ -1253,16 +1253,16 @@
if-eqz v0, :cond_0
- const/4 p1, 0x1
+ invoke-direct {p0}, Lcom/discord/widgets/home/WidgetHome;->getOverlappingPanels()Lcom/discord/widgets/home/HomePanelsLayout;
- const/4 v0, 0x0
+ move-result-object p1
- invoke-static {p0, v0, p1, v0}, Lcom/discord/app/AppFragment;->hideKeyboard$default(Lcom/discord/app/AppFragment;Landroid/view/View;ILjava/lang/Object;)V
+ invoke-virtual {p1}, Lcom/discord/panels/OverlappingPanelsLayout;->openStartPanel()V
goto :goto_0
:cond_0
- sget-object v0, Lcom/discord/widgets/home/WidgetHomeViewModel$Event$OpenLeftPanel;->INSTANCE:Lcom/discord/widgets/home/WidgetHomeViewModel$Event$OpenLeftPanel;
+ sget-object v0, Lcom/discord/widgets/home/WidgetHomeViewModel$Event$ClosePanels;->INSTANCE:Lcom/discord/widgets/home/WidgetHomeViewModel$Event$ClosePanels;
invoke-static {p1, v0}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
@@ -1274,12 +1274,12 @@
move-result-object p1
- invoke-virtual {p1}, Lcom/discord/panels/OverlappingPanelsLayout;->openStartPanel()V
+ invoke-virtual {p1}, Lcom/discord/panels/OverlappingPanelsLayout;->closePanels()V
goto :goto_0
:cond_1
- sget-object v0, Lcom/discord/widgets/home/WidgetHomeViewModel$Event$ClosePanels;->INSTANCE:Lcom/discord/widgets/home/WidgetHomeViewModel$Event$ClosePanels;
+ sget-object v0, Lcom/discord/widgets/home/WidgetHomeViewModel$Event$UnlockLeftPanel;->INSTANCE:Lcom/discord/widgets/home/WidgetHomeViewModel$Event$UnlockLeftPanel;
invoke-static {p1, v0}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
@@ -1291,33 +1291,16 @@
move-result-object p1
- invoke-virtual {p1}, Lcom/discord/panels/OverlappingPanelsLayout;->closePanels()V
-
- goto :goto_0
-
- :cond_2
- sget-object v0, Lcom/discord/widgets/home/WidgetHomeViewModel$Event$UnlockLeftPanel;->INSTANCE:Lcom/discord/widgets/home/WidgetHomeViewModel$Event$UnlockLeftPanel;
-
- invoke-static {p1, v0}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
-
- move-result v0
-
- if-eqz v0, :cond_3
-
- invoke-direct {p0}, Lcom/discord/widgets/home/WidgetHome;->getOverlappingPanels()Lcom/discord/widgets/home/HomePanelsLayout;
-
- move-result-object p1
-
sget-object v0, Lcom/discord/panels/OverlappingPanelsLayout$LockState;->UNLOCKED:Lcom/discord/panels/OverlappingPanelsLayout$LockState;
invoke-virtual {p1, v0}, Lcom/discord/panels/OverlappingPanelsLayout;->setStartPanelLockState(Lcom/discord/panels/OverlappingPanelsLayout$LockState;)V
goto :goto_0
- :cond_3
+ :cond_2
instance-of v0, p1, Lcom/discord/widgets/home/WidgetHomeViewModel$Event$ShowGuildWelcomeSheet;
- if-eqz v0, :cond_4
+ if-eqz v0, :cond_3
check-cast p1, Lcom/discord/widgets/home/WidgetHomeViewModel$Event$ShowGuildWelcomeSheet;
@@ -1327,7 +1310,7 @@
invoke-direct {p0, v0, v1}, Lcom/discord/widgets/home/WidgetHome;->showWelcomeSheet(J)V
- :cond_4
+ :cond_3
:goto_0
return-void
.end method
diff --git a/com.discord/smali/com/discord/widgets/home/WidgetHomeViewModel$Event$HideKeyboard.smali b/com.discord/smali/com/discord/widgets/home/WidgetHomeViewModel$Event$HideKeyboard.smali
deleted file mode 100644
index 165823f1d8..0000000000
--- a/com.discord/smali/com/discord/widgets/home/WidgetHomeViewModel$Event$HideKeyboard.smali
+++ /dev/null
@@ -1,42 +0,0 @@
-.class public final Lcom/discord/widgets/home/WidgetHomeViewModel$Event$HideKeyboard;
-.super Lcom/discord/widgets/home/WidgetHomeViewModel$Event;
-.source "WidgetHomeViewModel.kt"
-
-
-# annotations
-.annotation system Ldalvik/annotation/EnclosingClass;
- value = Lcom/discord/widgets/home/WidgetHomeViewModel$Event;
-.end annotation
-
-.annotation system Ldalvik/annotation/InnerClass;
- accessFlags = 0x19
- name = "HideKeyboard"
-.end annotation
-
-
-# static fields
-.field public static final INSTANCE:Lcom/discord/widgets/home/WidgetHomeViewModel$Event$HideKeyboard;
-
-
-# direct methods
-.method public static constructor ()V
- .locals 1
-
- new-instance v0, Lcom/discord/widgets/home/WidgetHomeViewModel$Event$HideKeyboard;
-
- invoke-direct {v0}, Lcom/discord/widgets/home/WidgetHomeViewModel$Event$HideKeyboard;->()V
-
- sput-object v0, Lcom/discord/widgets/home/WidgetHomeViewModel$Event$HideKeyboard;->INSTANCE:Lcom/discord/widgets/home/WidgetHomeViewModel$Event$HideKeyboard;
-
- return-void
-.end method
-
-.method public constructor ()V
- .locals 1
-
- const/4 v0, 0x0
-
- invoke-direct {p0, v0}, Lcom/discord/widgets/home/WidgetHomeViewModel$Event;->(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
-
- return-void
-.end method
diff --git a/com.discord/smali/com/discord/widgets/home/WidgetHomeViewModel$Event.smali b/com.discord/smali/com/discord/widgets/home/WidgetHomeViewModel$Event.smali
index ae5f7e0f0a..a61b7ceb77 100644
--- a/com.discord/smali/com/discord/widgets/home/WidgetHomeViewModel$Event.smali
+++ b/com.discord/smali/com/discord/widgets/home/WidgetHomeViewModel$Event.smali
@@ -15,7 +15,6 @@
.annotation system Ldalvik/annotation/MemberClasses;
value = {
- Lcom/discord/widgets/home/WidgetHomeViewModel$Event$HideKeyboard;,
Lcom/discord/widgets/home/WidgetHomeViewModel$Event$ClosePanels;,
Lcom/discord/widgets/home/WidgetHomeViewModel$Event$OpenLeftPanel;,
Lcom/discord/widgets/home/WidgetHomeViewModel$Event$UnlockLeftPanel;,
diff --git a/com.discord/smali/com/discord/widgets/home/WidgetHomeViewModel.smali b/com.discord/smali/com/discord/widgets/home/WidgetHomeViewModel.smali
index aa5b20fe10..3e99641c9f 100644
--- a/com.discord/smali/com/discord/widgets/home/WidgetHomeViewModel.smali
+++ b/com.discord/smali/com/discord/widgets/home/WidgetHomeViewModel.smali
@@ -228,22 +228,6 @@
return-void
.end method
-.method private final emitHideKeyboardEvent()V
- .locals 2
- .annotation build Landroidx/annotation/UiThread;
- .end annotation
-
- iget-object v0, p0, Lcom/discord/widgets/home/WidgetHomeViewModel;->eventSubject:Lrx/subjects/PublishSubject;
-
- sget-object v1, Lcom/discord/widgets/home/WidgetHomeViewModel$Event$HideKeyboard;->INSTANCE:Lcom/discord/widgets/home/WidgetHomeViewModel$Event$HideKeyboard;
-
- iget-object v0, v0, Lrx/subjects/PublishSubject;->e:Lrx/subjects/PublishSubject$b;
-
- invoke-virtual {v0, v1}, Lrx/subjects/PublishSubject$b;->onNext(Ljava/lang/Object;)V
-
- return-void
-.end method
-
.method private final emitShowWelcomeSheet(J)V
.locals 2
.annotation build Landroidx/annotation/UiThread;
@@ -353,47 +337,11 @@
invoke-virtual {p0, v4}, Lf/a/b/o0;->updateViewState(Ljava/lang/Object;)V
- sget-object v4, Lcom/discord/panels/PanelState$c;->a:Lcom/discord/panels/PanelState$c;
-
- invoke-static {v0, v4}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
-
- move-result v4
-
- if-nez v4, :cond_0
-
- sget-object v4, Lcom/discord/panels/PanelState$d;->a:Lcom/discord/panels/PanelState$d;
-
- invoke-static {v0, v4}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
-
- move-result v0
-
- if-nez v0, :cond_0
-
- sget-object v0, Lcom/discord/panels/PanelState$c;->a:Lcom/discord/panels/PanelState$c;
-
- invoke-static {v1, v0}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
-
- move-result v0
-
- if-nez v0, :cond_0
-
- sget-object v0, Lcom/discord/panels/PanelState$d;->a:Lcom/discord/panels/PanelState$d;
-
- invoke-static {v1, v0}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
-
- move-result v0
-
- if-eqz v0, :cond_1
-
- :cond_0
- invoke-direct {p0}, Lcom/discord/widgets/home/WidgetHomeViewModel;->emitHideKeyboardEvent()V
-
- :cond_1
- if-eqz p1, :cond_2
+ if-eqz p1, :cond_0
invoke-direct {p0, v2, v3}, Lcom/discord/widgets/home/WidgetHomeViewModel;->emitShowWelcomeSheet(J)V
- :cond_2
+ :cond_0
return-void
.end method
diff --git a/com.discord/smali/com/discord/widgets/settings/WidgetSettings.smali b/com.discord/smali/com/discord/widgets/settings/WidgetSettings.smali
index 6451fa9f05..d5c6c9f122 100644
--- a/com.discord/smali/com/discord/widgets/settings/WidgetSettings.smali
+++ b/com.discord/smali/com/discord/widgets/settings/WidgetSettings.smali
@@ -1831,7 +1831,7 @@
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- const-string v0, " - 33.2 (1209)"
+ const-string v0, " - 33.4 (1211)"
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;