26 lines
1.3 KiB
Java
26 lines
1.3 KiB
Java
package com.discord.widgets.tos;
|
|
|
|
import android.view.View;
|
|
import android.widget.CompoundButton;
|
|
import kotlin.jvm.internal.Ref$BooleanRef;
|
|
/* compiled from: WidgetTosReportViolationReasonView.kt */
|
|
public final class WidgetTosReportViolationReasonView$setOnClickListener$2 implements CompoundButton.OnCheckedChangeListener {
|
|
public final /* synthetic */ Ref$BooleanRef $onClickInvoked;
|
|
public final /* synthetic */ View.OnClickListener $onClickListener;
|
|
public final /* synthetic */ WidgetTosReportViolationReasonView this$0;
|
|
|
|
public WidgetTosReportViolationReasonView$setOnClickListener$2(WidgetTosReportViolationReasonView widgetTosReportViolationReasonView, Ref$BooleanRef ref$BooleanRef, View.OnClickListener onClickListener) {
|
|
this.this$0 = widgetTosReportViolationReasonView;
|
|
this.$onClickInvoked = ref$BooleanRef;
|
|
this.$onClickListener = onClickListener;
|
|
}
|
|
|
|
@Override // android.widget.CompoundButton.OnCheckedChangeListener
|
|
public final void onCheckedChanged(CompoundButton compoundButton, boolean z2) {
|
|
View.OnClickListener onClickListener;
|
|
if (!this.$onClickInvoked.element && z2 && (onClickListener = this.$onClickListener) != null) {
|
|
onClickListener.onClick(this.this$0);
|
|
}
|
|
}
|
|
}
|