44 lines
2.3 KiB
Java
44 lines
2.3 KiB
Java
|
package com.discord.widgets.guild_delete_feedback;
|
||
|
|
||
|
import androidx.fragment.app.FragmentActivity;
|
||
|
import androidx.fragment.app.FragmentManager;
|
||
|
import com.discord.stores.StoreNotices;
|
||
|
import d0.z.d.m;
|
||
|
import d0.z.d.o;
|
||
|
import kotlin.jvm.functions.Function1;
|
||
|
/* compiled from: GuildDeleteFeedbackSheetNavigator.kt */
|
||
|
public final class GuildDeleteFeedbackSheetNavigator$enqueueNotice$showFeedbackNotice$1 extends o implements Function1<FragmentActivity, Boolean> {
|
||
|
public final /* synthetic */ long $guildId;
|
||
|
public final /* synthetic */ String $noticeName;
|
||
|
public final /* synthetic */ long $requestedShowTimestamp;
|
||
|
public final /* synthetic */ StoreNotices $storeNotices;
|
||
|
|
||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||
|
public GuildDeleteFeedbackSheetNavigator$enqueueNotice$showFeedbackNotice$1(long j, long j2, StoreNotices storeNotices, String str) {
|
||
|
super(1);
|
||
|
this.$requestedShowTimestamp = j;
|
||
|
this.$guildId = j2;
|
||
|
this.$storeNotices = storeNotices;
|
||
|
this.$noticeName = str;
|
||
|
}
|
||
|
|
||
|
/* 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");
|
||
|
GuildDeleteFeedbackSheetNavigator guildDeleteFeedbackSheetNavigator = GuildDeleteFeedbackSheetNavigator.INSTANCE;
|
||
|
if (GuildDeleteFeedbackSheetNavigator.access$getClock$p(guildDeleteFeedbackSheetNavigator).currentTimeMillis() - this.$requestedShowTimestamp < 3000) {
|
||
|
FragmentManager supportFragmentManager = fragmentActivity.getSupportFragmentManager();
|
||
|
m.checkNotNullExpressionValue(supportFragmentManager, "fragmentActivity.supportFragmentManager");
|
||
|
GuildDeleteFeedbackSheetNavigator.access$show(guildDeleteFeedbackSheetNavigator, supportFragmentManager, this.$guildId);
|
||
|
}
|
||
|
StoreNotices.markSeen$default(this.$storeNotices, this.$noticeName, 0, 2, null);
|
||
|
return true;
|
||
|
}
|
||
|
}
|