discord-jadx/app/src/main/java/com/discord/stores/StoreOutboundPromotions$han...

57 lines
2.6 KiB
Java
Raw Normal View History

2021-06-27 20:44:35 +00:00
package com.discord.stores;
2021-07-03 23:36:06 +00:00
import com.discord.api.premium.OutboundPromotion;
2021-06-27 20:44:35 +00:00
import com.discord.stores.StoreOutboundPromotions;
import d0.z.d.m;
import d0.z.d.o;
2021-07-03 23:36:06 +00:00
import java.util.List;
2021-06-27 20:44:35 +00:00
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
/* compiled from: StoreOutboundPromotions.kt */
2021-07-03 23:36:06 +00:00
public final class StoreOutboundPromotions$handleConnectionOpen$3 extends o implements Function1<List<? extends OutboundPromotion>, Unit> {
2021-06-27 20:44:35 +00:00
public final /* synthetic */ StoreOutboundPromotions this$0;
/* compiled from: StoreOutboundPromotions.kt */
/* renamed from: com.discord.stores.StoreOutboundPromotions$handleConnectionOpen$3$1 reason: invalid class name */
public static final class AnonymousClass1 extends o implements Function0<Unit> {
2021-07-03 23:36:06 +00:00
public final /* synthetic */ List $validActivePromos;
2021-06-27 20:44:35 +00:00
public final /* synthetic */ StoreOutboundPromotions$handleConnectionOpen$3 this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
2021-07-03 23:36:06 +00:00
public AnonymousClass1(StoreOutboundPromotions$handleConnectionOpen$3 storeOutboundPromotions$handleConnectionOpen$3, List list) {
2021-06-27 20:44:35 +00:00
super(0);
this.this$0 = storeOutboundPromotions$handleConnectionOpen$3;
2021-07-03 23:36:06 +00:00
this.$validActivePromos = list;
2021-06-27 20:44:35 +00:00
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
2021-07-03 23:36:06 +00:00
StoreOutboundPromotions storeOutboundPromotions = this.this$0.this$0;
List list = this.$validActivePromos;
m.checkNotNullExpressionValue(list, "validActivePromos");
StoreOutboundPromotions.access$setState$p(storeOutboundPromotions, new StoreOutboundPromotions.State.Loaded(list));
2021-06-27 20:44:35 +00:00
this.this$0.this$0.markChanged();
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreOutboundPromotions$handleConnectionOpen$3(StoreOutboundPromotions storeOutboundPromotions) {
super(1);
this.this$0 = storeOutboundPromotions;
}
/* 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
2021-07-03 23:36:06 +00:00
public /* bridge */ /* synthetic */ Unit invoke(List<? extends OutboundPromotion> list) {
invoke((List<OutboundPromotion>) list);
2021-06-27 20:44:35 +00:00
return Unit.a;
}
2021-07-03 23:36:06 +00:00
public final void invoke(List<OutboundPromotion> list) {
StoreOutboundPromotions.access$getDispatcher$p(this.this$0).schedule(new AnonymousClass1(this, list));
2021-06-27 20:44:35 +00:00
}
}