discord-jadx/app/src/main/java/com/discord/stores/StoreGifting$revokeGiftCode...

51 lines
2.1 KiB
Java

package com.discord.stores;
import com.discord.models.domain.ModelGift;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
/* compiled from: StoreGifting.kt */
public final class StoreGifting$revokeGiftCode$3 extends o implements Function1<Void, Unit> {
public final /* synthetic */ ModelGift $gift;
public final /* synthetic */ StoreGifting this$0;
/* compiled from: StoreGifting.kt */
/* renamed from: com.discord.stores.StoreGifting$revokeGiftCode$3$1 reason: invalid class name */
public static final class AnonymousClass1 extends o implements Function0<Unit> {
public final /* synthetic */ StoreGifting$revokeGiftCode$3 this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public AnonymousClass1(StoreGifting$revokeGiftCode$3 storeGifting$revokeGiftCode$3) {
super(0);
this.this$0 = storeGifting$revokeGiftCode$3;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
StoreGifting$revokeGiftCode$3 storeGifting$revokeGiftCode$3 = this.this$0;
StoreGifting.access$removeGiftCode(storeGifting$revokeGiftCode$3.this$0, storeGifting$revokeGiftCode$3.$gift.getCode());
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreGifting$revokeGiftCode$3(StoreGifting storeGifting, ModelGift modelGift) {
super(1);
this.this$0 = storeGifting;
this.$gift = modelGift;
}
/* 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(Void r1) {
invoke(r1);
return Unit.a;
}
public final void invoke(Void r2) {
this.this$0.getDispatcher().schedule(new AnonymousClass1(this));
}
}