2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.guild_delete_feedback;
|
|
|
|
|
|
|
|
import android.os.Bundle;
|
|
|
|
import androidx.fragment.app.FragmentManager;
|
2021-12-17 21:59:34 +00:00
|
|
|
import b.d.b.a.a;
|
2021-08-03 07:33:18 +00:00
|
|
|
import com.discord.stores.StoreNotices;
|
|
|
|
import com.discord.stores.StoreStream;
|
|
|
|
import com.discord.utilities.time.Clock;
|
|
|
|
import com.discord.utilities.time.ClockFactory;
|
|
|
|
import com.discord.widgets.feedback.WidgetFeedbackSheet;
|
2021-11-02 06:38:17 +00:00
|
|
|
import d0.z.d.m;
|
2022-03-07 09:34:54 +00:00
|
|
|
import org.objectweb.asm.Opcodes;
|
2021-08-03 07:33:18 +00:00
|
|
|
/* compiled from: GuildDeleteFeedbackSheetNavigator.kt */
|
2022-03-07 09:34:54 +00:00
|
|
|
/* loaded from: classes2.dex */
|
2021-08-03 07:33:18 +00:00
|
|
|
public final class GuildDeleteFeedbackSheetNavigator {
|
|
|
|
public static final GuildDeleteFeedbackSheetNavigator INSTANCE = new GuildDeleteFeedbackSheetNavigator();
|
|
|
|
private static final Clock clock = ClockFactory.get();
|
|
|
|
|
|
|
|
private GuildDeleteFeedbackSheetNavigator() {
|
|
|
|
}
|
|
|
|
|
|
|
|
public static final /* synthetic */ Clock access$getClock$p(GuildDeleteFeedbackSheetNavigator guildDeleteFeedbackSheetNavigator) {
|
|
|
|
return clock;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static final /* synthetic */ void access$show(GuildDeleteFeedbackSheetNavigator guildDeleteFeedbackSheetNavigator, FragmentManager fragmentManager, long j) {
|
|
|
|
guildDeleteFeedbackSheetNavigator.show(fragmentManager, j);
|
|
|
|
}
|
|
|
|
|
|
|
|
private final void show(FragmentManager fragmentManager, long j) {
|
|
|
|
WidgetFeedbackSheet newInstance = WidgetFeedbackSheet.Companion.newInstance(WidgetFeedbackSheet.FeedbackType.GUILD_DELETE);
|
|
|
|
Bundle arguments = newInstance.getArguments();
|
|
|
|
m.checkNotNull(arguments);
|
2021-08-09 22:51:56 +00:00
|
|
|
arguments.putLong(WidgetFeedbackSheet.ARG_GUILD_DELETE_FEEDBACK_GUILD_ID, j);
|
2021-08-03 07:33:18 +00:00
|
|
|
newInstance.show(fragmentManager, WidgetFeedbackSheet.class.getName());
|
|
|
|
}
|
|
|
|
|
|
|
|
public final void enqueueNotice(long j) {
|
|
|
|
StoreNotices notices = StoreStream.Companion.getNotices();
|
2021-11-05 06:48:17 +00:00
|
|
|
String s2 = a.s("Delete Guild Feedback for ", j);
|
2021-08-03 07:33:18 +00:00
|
|
|
long currentTimeMillis = clock.currentTimeMillis();
|
2022-03-07 09:34:54 +00:00
|
|
|
notices.requestToShow(new StoreNotices.Notice(s2, null, currentTimeMillis, 0, false, null, 0L, false, 0L, new GuildDeleteFeedbackSheetNavigator$enqueueNotice$showFeedbackNotice$1(currentTimeMillis, j, notices, s2), Opcodes.GETSTATIC, null));
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
}
|