56 lines
2.7 KiB
Java
56 lines
2.7 KiB
Java
|
package com.discord.stores;
|
||
|
|
||
|
import com.discord.models.domain.ModelEntitlement;
|
||
|
import d0.z.d.m;
|
||
|
import d0.z.d.o;
|
||
|
import java.util.List;
|
||
|
import kotlin.Unit;
|
||
|
import kotlin.jvm.functions.Function0;
|
||
|
import kotlin.jvm.functions.Function1;
|
||
|
/* compiled from: StoreEntitlements.kt */
|
||
|
public final class StoreEntitlements$fetchMyEntitlementsForApplication$3 extends o implements Function1<List<? extends ModelEntitlement>, Unit> {
|
||
|
public final /* synthetic */ long $applicationId;
|
||
|
public final /* synthetic */ StoreEntitlements this$0;
|
||
|
|
||
|
/* compiled from: StoreEntitlements.kt */
|
||
|
/* renamed from: com.discord.stores.StoreEntitlements$fetchMyEntitlementsForApplication$3$1 reason: invalid class name */
|
||
|
public static final class AnonymousClass1 extends o implements Function0<Unit> {
|
||
|
public final /* synthetic */ List $entitlements;
|
||
|
public final /* synthetic */ StoreEntitlements$fetchMyEntitlementsForApplication$3 this$0;
|
||
|
|
||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||
|
public AnonymousClass1(StoreEntitlements$fetchMyEntitlementsForApplication$3 storeEntitlements$fetchMyEntitlementsForApplication$3, List list) {
|
||
|
super(0);
|
||
|
this.this$0 = storeEntitlements$fetchMyEntitlementsForApplication$3;
|
||
|
this.$entitlements = list;
|
||
|
}
|
||
|
|
||
|
@Override // kotlin.jvm.functions.Function0
|
||
|
/* renamed from: invoke */
|
||
|
public final void mo1invoke() {
|
||
|
StoreEntitlements$fetchMyEntitlementsForApplication$3 storeEntitlements$fetchMyEntitlementsForApplication$3 = this.this$0;
|
||
|
storeEntitlements$fetchMyEntitlementsForApplication$3.this$0.handleFetchEntitlementsSuccess(storeEntitlements$fetchMyEntitlementsForApplication$3.$applicationId, this.$entitlements);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||
|
public StoreEntitlements$fetchMyEntitlementsForApplication$3(StoreEntitlements storeEntitlements, long j) {
|
||
|
super(1);
|
||
|
this.this$0 = storeEntitlements;
|
||
|
this.$applicationId = 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(List<? extends ModelEntitlement> list) {
|
||
|
invoke((List<ModelEntitlement>) list);
|
||
|
return Unit.a;
|
||
|
}
|
||
|
|
||
|
public final void invoke(List<ModelEntitlement> list) {
|
||
|
m.checkNotNullParameter(list, "entitlements");
|
||
|
StoreEntitlements.access$getDispatcher$p(this.this$0).schedule(new AnonymousClass1(this, list));
|
||
|
}
|
||
|
}
|