57 lines
2.3 KiB
Java
57 lines
2.3 KiB
Java
package com.discord.widgets.channels;
|
|
|
|
import android.os.Bundle;
|
|
import android.view.View;
|
|
import androidx.fragment.app.Fragment;
|
|
import androidx.fragment.app.FragmentManager;
|
|
import c.d.b.a.a;
|
|
import com.discord.app.AppBottomSheet;
|
|
import com.discord.databinding.WidgetChannelOnboardingBinding;
|
|
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
|
|
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
|
|
import d0.z.d.m;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.reflect.KProperty;
|
|
/* compiled from: WidgetChannelOnboarding.kt */
|
|
public final class WidgetChannelOnboarding extends AppBottomSheet {
|
|
public static final /* synthetic */ KProperty[] $$delegatedProperties = {a.W(WidgetChannelOnboarding.class, "binding", "getBinding()Lcom/discord/databinding/WidgetChannelOnboardingBinding;", 0)};
|
|
public static final Companion Companion = new Companion(null);
|
|
private final FragmentViewBindingDelegate binding$delegate = FragmentViewBindingDelegateKt.viewBinding$default(this, WidgetChannelOnboarding$binding$2.INSTANCE, null, 2, null);
|
|
|
|
/* compiled from: WidgetChannelOnboarding.kt */
|
|
public static final class Companion {
|
|
private Companion() {
|
|
}
|
|
|
|
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
|
|
public final void show(FragmentManager fragmentManager) {
|
|
m.checkNotNullParameter(fragmentManager, "fragmentManager");
|
|
new WidgetChannelOnboarding().show(fragmentManager, "javaClass");
|
|
}
|
|
}
|
|
|
|
public WidgetChannelOnboarding() {
|
|
super(false, 1, null);
|
|
}
|
|
|
|
private final WidgetChannelOnboardingBinding getBinding() {
|
|
return (WidgetChannelOnboardingBinding) this.binding$delegate.getValue((Fragment) this, $$delegatedProperties[0]);
|
|
}
|
|
|
|
@Override // com.discord.app.AppBottomSheet
|
|
public int getContentViewResId() {
|
|
return 2131558880;
|
|
}
|
|
|
|
@Override // com.discord.app.AppBottomSheet, androidx.fragment.app.Fragment
|
|
public void onViewCreated(View view, Bundle bundle) {
|
|
m.checkNotNullParameter(view, "view");
|
|
super.onViewCreated(view, bundle);
|
|
new ChannelOnboardingManager().markSeenUserChannelOnboarding();
|
|
getBinding().b.setOnClickListener(new WidgetChannelOnboarding$onViewCreated$1(this));
|
|
}
|
|
}
|