37 lines
1.7 KiB
Java
37 lines
1.7 KiB
Java
|
package com.discord.widgets.announcements;
|
||
|
|
||
|
import androidx.fragment.app.FragmentManager;
|
||
|
import com.discord.widgets.announcements.WidgetChannelFollowSheetViewModel;
|
||
|
import com.discord.widgets.announcements.WidgetChannelFollowSuccessDialog;
|
||
|
import d0.z.d.m;
|
||
|
import d0.z.d.o;
|
||
|
import kotlin.Unit;
|
||
|
import kotlin.jvm.functions.Function1;
|
||
|
/* compiled from: WidgetChannelFollowSheet.kt */
|
||
|
public final class WidgetChannelFollowSheet$onResume$2 extends o implements Function1<WidgetChannelFollowSheetViewModel.Event, Unit> {
|
||
|
public final /* synthetic */ WidgetChannelFollowSheet this$0;
|
||
|
|
||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||
|
public WidgetChannelFollowSheet$onResume$2(WidgetChannelFollowSheet widgetChannelFollowSheet) {
|
||
|
super(1);
|
||
|
this.this$0 = widgetChannelFollowSheet;
|
||
|
}
|
||
|
|
||
|
/* 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 */ Unit invoke(WidgetChannelFollowSheetViewModel.Event event) {
|
||
|
invoke(event);
|
||
|
return Unit.a;
|
||
|
}
|
||
|
|
||
|
public final void invoke(WidgetChannelFollowSheetViewModel.Event event) {
|
||
|
m.checkNotNullParameter(event, "it");
|
||
|
this.this$0.dismiss();
|
||
|
WidgetChannelFollowSuccessDialog.Companion companion = WidgetChannelFollowSuccessDialog.Companion;
|
||
|
FragmentManager parentFragmentManager = this.this$0.getParentFragmentManager();
|
||
|
m.checkNotNullExpressionValue(parentFragmentManager, "parentFragmentManager");
|
||
|
companion.show(parentFragmentManager);
|
||
|
}
|
||
|
}
|