37 lines
1.7 KiB
Java
37 lines
1.7 KiB
Java
|
package com.discord.stores;
|
||
|
|
||
|
import androidx.fragment.app.FragmentActivity;
|
||
|
import androidx.fragment.app.FragmentManager;
|
||
|
import com.discord.stores.StoreNotices;
|
||
|
import com.discord.utilities.notices.NoticeBuilders;
|
||
|
import d0.z.d.m;
|
||
|
import d0.z.d.o;
|
||
|
import kotlin.jvm.functions.Function1;
|
||
|
/* compiled from: StoreNotices.kt */
|
||
|
public final class StoreNotices$Dialog$Type$buildPassiveNotice$1 extends o implements Function1<FragmentActivity, Boolean> {
|
||
|
public final /* synthetic */ StoreNotices.Dialog.Type this$0;
|
||
|
|
||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||
|
public StoreNotices$Dialog$Type$buildPassiveNotice$1(StoreNotices.Dialog.Type type) {
|
||
|
super(1);
|
||
|
this.this$0 = type;
|
||
|
}
|
||
|
|
||
|
/* 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, "activity");
|
||
|
StoreNotices.Dialog dialog = new StoreNotices.Dialog(this.this$0, null, 2, null);
|
||
|
NoticeBuilders noticeBuilders = NoticeBuilders.INSTANCE;
|
||
|
FragmentManager supportFragmentManager = fragmentActivity.getSupportFragmentManager();
|
||
|
m.checkNotNullExpressionValue(supportFragmentManager, "activity.supportFragmentManager");
|
||
|
noticeBuilders.showNotice(fragmentActivity, supportFragmentManager, dialog);
|
||
|
return true;
|
||
|
}
|
||
|
}
|