discord-jadx/app/src/main/java/com/discord/widgets/user/usersheet/WidgetUserSheet$Companion$e...

45 lines
2.2 KiB
Java

package com.discord.widgets.user.usersheet;
import androidx.fragment.app.FragmentActivity;
import androidx.fragment.app.FragmentManager;
import com.discord.stores.StoreNotices;
import com.discord.widgets.user.usersheet.WidgetUserSheet;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetUserSheet.kt */
public final class WidgetUserSheet$Companion$enqueueNotice$showUserSheetNotice$1 extends o implements Function1<FragmentActivity, Boolean> {
public final /* synthetic */ String $friendToken;
public final /* synthetic */ String $noticeName;
public final /* synthetic */ StoreNotices $storeNotices;
public final /* synthetic */ long $userId;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetUserSheet$Companion$enqueueNotice$showUserSheetNotice$1(long j, String str, StoreNotices storeNotices, String str2) {
super(1);
this.$userId = j;
this.$friendToken = str;
this.$storeNotices = storeNotices;
this.$noticeName = str2;
}
/* 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, "fragmentActivity");
WidgetUserSheet.Companion companion = WidgetUserSheet.Companion;
long j = this.$userId;
String str = this.$friendToken;
FragmentManager supportFragmentManager = fragmentActivity.getSupportFragmentManager();
m.checkNotNullExpressionValue(supportFragmentManager, "fragmentActivity.supportFragmentManager");
WidgetUserSheet.Companion.show$default(companion, j, null, supportFragmentManager, null, null, null, str, 58, null);
StoreNotices.markSeen$default(this.$storeNotices, this.$noticeName, 0, 2, null);
return true;
}
}