package com.discord.widgets.servers; import android.view.View; import androidx.fragment.app.FragmentManager; import com.discord.widgets.servers.WidgetServerSettingsChannels; import com.discord.widgets.servers.WidgetServerSettingsChannelsFabMenuFragment; import d0.z.d.m; import kotlin.jvm.functions.Function0; import rx.functions.Action0; /* compiled from: WidgetServerSettingsChannels.kt */ public final class WidgetServerSettingsChannels$configureFabVisibility$1 implements View.OnClickListener { public final /* synthetic */ WidgetServerSettingsChannels.Model $model; public final /* synthetic */ Function0 $setFabVisibility; public final /* synthetic */ WidgetServerSettingsChannels this$0; /* compiled from: WidgetServerSettingsChannels.kt */ /* renamed from: com.discord.widgets.servers.WidgetServerSettingsChannels$configureFabVisibility$1$1 reason: invalid class name */ public static final class AnonymousClass1 implements Action0 { public final /* synthetic */ WidgetServerSettingsChannels$configureFabVisibility$1 this$0; public AnonymousClass1(WidgetServerSettingsChannels$configureFabVisibility$1 widgetServerSettingsChannels$configureFabVisibility$1) { this.this$0 = widgetServerSettingsChannels$configureFabVisibility$1; } @Override // rx.functions.Action0 public final void call() { this.this$0.$setFabVisibility.mo1invoke(); } } public WidgetServerSettingsChannels$configureFabVisibility$1(WidgetServerSettingsChannels widgetServerSettingsChannels, WidgetServerSettingsChannels.Model model, Function0 function0) { this.this$0 = widgetServerSettingsChannels; this.$model = model; this.$setFabVisibility = function0; } @Override // android.view.View.OnClickListener public final void onClick(View view) { WidgetServerSettingsChannelsFabMenuFragment.Companion companion = WidgetServerSettingsChannelsFabMenuFragment.Companion; long id2 = this.$model.getGuild().getId(); FragmentManager childFragmentManager = this.this$0.getChildFragmentManager(); m.checkNotNullExpressionValue(childFragmentManager, "childFragmentManager"); companion.show(id2, childFragmentManager, new AnonymousClass1(this)); WidgetServerSettingsChannels.access$getBinding$p(this.this$0).f1891c.hide(); } }