29 lines
1.5 KiB
Java
29 lines
1.5 KiB
Java
package com.discord.widgets.home;
|
|
|
|
import android.view.View;
|
|
import com.discord.api.channel.Channel;
|
|
import com.discord.databinding.WidgetHomeBinding;
|
|
/* compiled from: WidgetHomeHeaderManager.kt */
|
|
public final class WidgetHomeHeaderManager$configure$$inlined$apply$lambda$1 implements View.OnClickListener {
|
|
public final /* synthetic */ WidgetHomeBinding $binding$inlined;
|
|
public final /* synthetic */ WidgetHomeModel $model$inlined;
|
|
public final /* synthetic */ WidgetHomeModel $this_apply;
|
|
public final /* synthetic */ WidgetHome $widgetHome$inlined;
|
|
|
|
public WidgetHomeHeaderManager$configure$$inlined$apply$lambda$1(WidgetHomeModel widgetHomeModel, WidgetHome widgetHome, WidgetHomeModel widgetHomeModel2, WidgetHomeBinding widgetHomeBinding) {
|
|
this.$this_apply = widgetHomeModel;
|
|
this.$widgetHome$inlined = widgetHome;
|
|
this.$model$inlined = widgetHomeModel2;
|
|
this.$binding$inlined = widgetHomeBinding;
|
|
}
|
|
|
|
@Override // android.view.View.OnClickListener
|
|
public final void onClick(View view) {
|
|
Channel channel = this.$this_apply.getChannel();
|
|
Integer valueOf = channel != null ? Integer.valueOf(channel.A()) : null;
|
|
if ((valueOf != null && valueOf.intValue() == 1) || ((valueOf != null && valueOf.intValue() == 3) || ((valueOf != null && valueOf.intValue() == 5) || (valueOf != null && valueOf.intValue() == 0)))) {
|
|
this.$widgetHome$inlined.getPanelLayout().openEndPanel();
|
|
}
|
|
}
|
|
}
|