discord-jadx/app/src/main/java/com/discord/stores/StoreApplicationStreamPrevi...

55 lines
2.9 KiB
Java

package com.discord.stores;
import com.discord.models.domain.ModelApplicationStreamPreview;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
/* compiled from: StoreApplicationStreamPreviews.kt */
public final class StoreApplicationStreamPreviews$fetchStreamPreview$3 extends o implements Function1<ModelApplicationStreamPreview, Unit> {
public final /* synthetic */ String $streamKey;
public final /* synthetic */ StoreApplicationStreamPreviews this$0;
/* compiled from: StoreApplicationStreamPreviews.kt */
/* renamed from: com.discord.stores.StoreApplicationStreamPreviews$fetchStreamPreview$3$1 reason: invalid class name */
public static final class AnonymousClass1 extends o implements Function0<Unit> {
public final /* synthetic */ ModelApplicationStreamPreview $res;
public final /* synthetic */ StoreApplicationStreamPreviews$fetchStreamPreview$3 this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public AnonymousClass1(StoreApplicationStreamPreviews$fetchStreamPreview$3 storeApplicationStreamPreviews$fetchStreamPreview$3, ModelApplicationStreamPreview modelApplicationStreamPreview) {
super(0);
this.this$0 = storeApplicationStreamPreviews$fetchStreamPreview$3;
this.$res = modelApplicationStreamPreview;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
StoreApplicationStreamPreviews$fetchStreamPreview$3 storeApplicationStreamPreviews$fetchStreamPreview$3 = this.this$0;
storeApplicationStreamPreviews$fetchStreamPreview$3.this$0.handleFetchSuccess(storeApplicationStreamPreviews$fetchStreamPreview$3.$streamKey, this.$res.getUrl());
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreApplicationStreamPreviews$fetchStreamPreview$3(StoreApplicationStreamPreviews storeApplicationStreamPreviews, String str) {
super(1);
this.this$0 = storeApplicationStreamPreviews;
this.$streamKey = str;
}
/* 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(ModelApplicationStreamPreview modelApplicationStreamPreview) {
invoke(modelApplicationStreamPreview);
return Unit.a;
}
public final void invoke(ModelApplicationStreamPreview modelApplicationStreamPreview) {
m.checkNotNullParameter(modelApplicationStreamPreview, "res");
StoreApplicationStreamPreviews.access$getDispatcher$p(this.this$0).schedule(new AnonymousClass1(this, modelApplicationStreamPreview));
}
}