34 lines
1.4 KiB
Java
34 lines
1.4 KiB
Java
package com.discord.widgets.voice.feedback;
|
|
|
|
import android.text.Editable;
|
|
import com.google.android.material.button.MaterialButton;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetIssueDetailsForm.kt */
|
|
public final class WidgetIssueDetailsForm$onViewBound$2 extends o implements Function1<Editable, Unit> {
|
|
public final /* synthetic */ WidgetIssueDetailsForm this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetIssueDetailsForm$onViewBound$2(WidgetIssueDetailsForm widgetIssueDetailsForm) {
|
|
super(1);
|
|
this.this$0 = widgetIssueDetailsForm;
|
|
}
|
|
|
|
/* 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(Editable editable) {
|
|
invoke(editable);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(Editable editable) {
|
|
m.checkNotNullParameter(editable, "editable");
|
|
MaterialButton materialButton = WidgetIssueDetailsForm.access$getBinding$p(this.this$0).d;
|
|
m.checkNotNullExpressionValue(materialButton, "binding.issueDetailsSubmitButton");
|
|
materialButton.setEnabled(editable.length() > 0);
|
|
}
|
|
}
|