discord-jadx/app/src/main/java/com/discord/widgets/channels/WidgetChannelSidebarActions...

39 lines
1.6 KiB
Java

package com.discord.widgets.channels;
import android.view.View;
import androidx.fragment.app.FragmentManager;
import com.discord.widgets.settings.WidgetMuteSettingsSheet;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetChannelSidebarActions.kt */
public final class WidgetChannelSidebarActions$configureUI$7 extends o implements Function1<View, Unit> {
public final /* synthetic */ long $channelId;
public final /* synthetic */ WidgetChannelSidebarActions this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetChannelSidebarActions$configureUI$7(WidgetChannelSidebarActions widgetChannelSidebarActions, long j) {
super(1);
this.this$0 = widgetChannelSidebarActions;
this.$channelId = j;
}
/* 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(View view) {
invoke(view);
return Unit.a;
}
public final void invoke(View view) {
m.checkNotNullParameter(view, "it");
WidgetMuteSettingsSheet.Companion companion = WidgetMuteSettingsSheet.Companion;
long j = this.$channelId;
FragmentManager parentFragmentManager = this.this$0.getParentFragmentManager();
m.checkNotNullExpressionValue(parentFragmentManager, "parentFragmentManager");
companion.showForChannel(j, parentFragmentManager);
}
}