discord-jadx/app/src/main/java/com/discord/stores/StoreDirectories$fetchEntry...

56 lines
2.6 KiB
Java

package com.discord.stores;
import com.discord.stores.utilities.RestCallState;
import d0.z.d.m;
import d0.z.d.o;
import java.util.Map;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
/* compiled from: StoreDirectories.kt */
public final class StoreDirectories$fetchEntryCountsForChannel$1 extends o implements Function1<RestCallState<? extends Map<Integer, ? extends Integer>>, Unit> {
public final /* synthetic */ long $channelId;
public final /* synthetic */ StoreDirectories this$0;
/* compiled from: StoreDirectories.kt */
/* renamed from: com.discord.stores.StoreDirectories$fetchEntryCountsForChannel$1$1 reason: invalid class name */
public static final class AnonymousClass1 extends o implements Function0<Unit> {
public final /* synthetic */ RestCallState $response;
public final /* synthetic */ StoreDirectories$fetchEntryCountsForChannel$1 this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public AnonymousClass1(StoreDirectories$fetchEntryCountsForChannel$1 storeDirectories$fetchEntryCountsForChannel$1, RestCallState restCallState) {
super(0);
this.this$0 = storeDirectories$fetchEntryCountsForChannel$1;
this.$response = restCallState;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
StoreDirectories.access$getEntryCountMap$p(this.this$0.this$0).put(Long.valueOf(this.this$0.$channelId), this.$response);
this.this$0.this$0.markChanged();
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreDirectories$fetchEntryCountsForChannel$1(StoreDirectories storeDirectories, long j) {
super(1);
this.this$0 = storeDirectories;
this.$channelId = j;
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public /* bridge */ /* synthetic */ Unit invoke(RestCallState<? extends Map<Integer, ? extends Integer>> restCallState) {
invoke((RestCallState<? extends Map<Integer, Integer>>) restCallState);
return Unit.a;
}
public final void invoke(RestCallState<? extends Map<Integer, Integer>> restCallState) {
m.checkNotNullParameter(restCallState, "response");
StoreDirectories.access$getDispatcher$p(this.this$0).schedule(new AnonymousClass1(this, restCallState));
}
}