discord-jadx/app/src/main/java/com/discord/stores/StoreNavigation$launchNotic...

32 lines
1.4 KiB
Java

package com.discord.stores;
import androidx.fragment.app.FragmentActivity;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.jvm.functions.Function1;
/* compiled from: StoreNavigation.kt */
public final class StoreNavigation$launchNotice$notice$1 extends o implements Function1<FragmentActivity, Boolean> {
public final /* synthetic */ String $noticeName;
public final /* synthetic */ Function1 $showAction;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreNavigation$launchNotice$notice$1(String str, Function1 function1) {
super(1);
this.$noticeName = str;
this.$showAction = 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] */
@Override // kotlin.jvm.functions.Function1
public /* bridge */ /* synthetic */ Boolean invoke(FragmentActivity fragmentActivity) {
return Boolean.valueOf(invoke(fragmentActivity));
}
public final boolean invoke(FragmentActivity fragmentActivity) {
m.checkNotNullParameter(fragmentActivity, "it");
StoreNotices.markSeen$default(StoreStream.Companion.getNotices(), this.$noticeName, 0, 2, null);
return ((Boolean) this.$showAction.invoke(fragmentActivity)).booleanValue();
}
}