38 lines
1.5 KiB
Java
38 lines
1.5 KiB
Java
package com.discord.widgets.settings.premium;
|
|
|
|
import android.os.Bundle;
|
|
import android.os.Parcelable;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
import kotlin.jvm.functions.Function2;
|
|
/* compiled from: WidgetClaimOutboundPromo.kt */
|
|
public final class WidgetClaimOutboundPromo$Companion$showAndRegisterForClaimResult$2 extends o implements Function2<String, Bundle, Unit> {
|
|
public final /* synthetic */ Function1 $onPromoClaimed;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetClaimOutboundPromo$Companion$showAndRegisterForClaimResult$2(Function1 function1) {
|
|
super(2);
|
|
this.$onPromoClaimed = function1;
|
|
}
|
|
|
|
/* 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, java.lang.Object] */
|
|
@Override // kotlin.jvm.functions.Function2
|
|
public /* bridge */ /* synthetic */ Unit invoke(String str, Bundle bundle) {
|
|
invoke(str, bundle);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(String str, Bundle bundle) {
|
|
m.checkNotNullParameter(str, "requestKey");
|
|
m.checkNotNullParameter(bundle, "bundle");
|
|
if (m.areEqual("KEY_PROMO_CLAIMED", str)) {
|
|
Function1 function1 = this.$onPromoClaimed;
|
|
Parcelable parcelable = bundle.getParcelable("KEY_PROMO_CLAIMED");
|
|
m.checkNotNull(parcelable);
|
|
function1.invoke(parcelable);
|
|
}
|
|
}
|
|
}
|