122 lines
3.7 KiB
Smali
122 lines
3.7 KiB
Smali
.class final Lcom/discord/stores/StoreMessagesLoader$jumpToMessage$2;
|
|
.super Lkotlin/jvm/internal/k;
|
|
.source "StoreMessagesLoader.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/stores/StoreMessagesLoader;->jumpToMessage(JJ)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/jvm/internal/k;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic $channelId:J
|
|
|
|
.field final synthetic this$0:Lcom/discord/stores/StoreMessagesLoader;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/discord/stores/StoreMessagesLoader;J)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreMessagesLoader$jumpToMessage$2;->this$0:Lcom/discord/stores/StoreMessagesLoader;
|
|
|
|
iput-wide p2, p0, Lcom/discord/stores/StoreMessagesLoader$jumpToMessage$2;->$channelId:J
|
|
|
|
const/4 p1, 0x1
|
|
|
|
invoke-direct {p0, p1}, Lkotlin/jvm/internal/k;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMessagesLoader$jumpToMessage$2;->invoke(Lcom/discord/models/domain/ModelChannel;)V
|
|
|
|
sget-object p1, Lkotlin/Unit;->beG:Lkotlin/Unit;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final declared-synchronized invoke(Lcom/discord/models/domain/ModelChannel;)V
|
|
.locals 5
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
const-string v0, "channel"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
|
|
|
move-result-wide v0
|
|
|
|
iget-object v2, p0, Lcom/discord/stores/StoreMessagesLoader$jumpToMessage$2;->this$0:Lcom/discord/stores/StoreMessagesLoader;
|
|
|
|
invoke-static {v2}, Lcom/discord/stores/StoreMessagesLoader;->access$getSelectedChannelId$p(Lcom/discord/stores/StoreMessagesLoader;)J
|
|
|
|
move-result-wide v2
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreMessagesLoader$jumpToMessage$2;->this$0:Lcom/discord/stores/StoreMessagesLoader;
|
|
|
|
iget-wide v1, p0, Lcom/discord/stores/StoreMessagesLoader$jumpToMessage$2;->$channelId:J
|
|
|
|
sget-object v3, Lcom/discord/stores/StoreMessagesLoader$jumpToMessage$2$1;->INSTANCE:Lcom/discord/stores/StoreMessagesLoader$jumpToMessage$2$1;
|
|
|
|
check-cast v3, Lkotlin/jvm/functions/Function1;
|
|
|
|
invoke-static {v0, v1, v2, v3}, Lcom/discord/stores/StoreMessagesLoader;->access$channelLoadedStateUpdate(Lcom/discord/stores/StoreMessagesLoader;JLkotlin/jvm/functions/Function1;)V
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreMessagesLoader$jumpToMessage$2;->this$0:Lcom/discord/stores/StoreMessagesLoader;
|
|
|
|
invoke-static {v0}, Lcom/discord/stores/StoreMessagesLoader;->access$getStream$p(Lcom/discord/stores/StoreMessagesLoader;)Lcom/discord/stores/StoreStream;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v0, v0, Lcom/discord/stores/StoreStream;->channelsSelected:Lcom/discord/stores/StoreChannelsSelected;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/discord/stores/StoreChannelsSelected;->set(Lcom/discord/models/domain/ModelChannel;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
:cond_0
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit p0
|
|
|
|
throw p1
|
|
.end method
|