2021-06-27 20:44:35 +00:00
|
|
|
package com.discord.widgets.guild_delete_feedback;
|
|
|
|
|
|
|
|
import android.os.Bundle;
|
|
|
|
import androidx.fragment.app.FragmentManager;
|
|
|
|
import c.d.b.a.a;
|
|
|
|
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;
|
|
|
|
import d0.z.d.m;
|
|
|
|
/* compiled from: GuildDeleteFeedbackSheetNavigator.kt */
|
|
|
|
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);
|
|
|
|
arguments.putLong("ARG_GUILD_DELETE_FEEDBACK_GUILD_ID", j);
|
|
|
|
newInstance.show(fragmentManager, WidgetFeedbackSheet.class.getName());
|
|
|
|
}
|
|
|
|
|
|
|
|
public final void enqueueNotice(long j) {
|
|
|
|
StoreNotices notices = StoreStream.Companion.getNotices();
|
2021-07-13 20:23:20 +00:00
|
|
|
String p = a.p("Delete Guild Feedback for ", j);
|
2021-06-27 20:44:35 +00:00
|
|
|
long currentTimeMillis = clock.currentTimeMillis();
|
2021-07-13 20:23:20 +00:00
|
|
|
notices.requestToShow(new StoreNotices.Notice(p, null, currentTimeMillis, 0, false, null, 0, false, 0, new GuildDeleteFeedbackSheetNavigator$enqueueNotice$showFeedbackNotice$1(currentTimeMillis, j, notices, p), 178, null));
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
}
|