2021-09-10 06:36:33 +00:00
|
|
|
package com.discord.widgets.guildscheduledevent;
|
|
|
|
|
|
|
|
import android.os.Bundle;
|
2021-10-15 06:18:26 +00:00
|
|
|
import c0.z.d.m;
|
|
|
|
import c0.z.d.o;
|
2021-09-10 06:36:33 +00:00
|
|
|
import kotlin.Unit;
|
|
|
|
import kotlin.jvm.functions.Function0;
|
|
|
|
import kotlin.jvm.functions.Function2;
|
|
|
|
/* compiled from: WidgetEndGuildScheduledEventBottomSheet.kt */
|
|
|
|
public final class WidgetEndGuildScheduledEventBottomSheet$Companion$registerForResult$1 extends o implements Function2<String, Bundle, Unit> {
|
|
|
|
public final /* synthetic */ Function0 $onActionTaken;
|
|
|
|
public final /* synthetic */ String $requestKey;
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
|
|
public WidgetEndGuildScheduledEventBottomSheet$Companion$registerForResult$1(String str, Function0 function0) {
|
|
|
|
super(2);
|
|
|
|
this.$requestKey = str;
|
|
|
|
this.$onActionTaken = function0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 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, "resultRequestKey");
|
|
|
|
m.checkNotNullParameter(bundle, "<anonymous parameter 1>");
|
|
|
|
if (m.areEqual(this.$requestKey, str)) {
|
2021-10-15 06:18:26 +00:00
|
|
|
this.$onActionTaken.mo17invoke();
|
2021-09-10 06:36:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|