discord-jadx/app/src/main/java/com/discord/utilities/stateful/StatefulViews$setupTextWatc...

37 lines
1.5 KiB
Java

package com.discord.utilities.stateful;
import android.view.View;
import com.discord.app.AppFragment;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: StatefulViews.kt */
public final class StatefulViews$setupTextWatcherWithSaveAction$$inlined$forEach$lambda$2 extends o implements Function1<Boolean, Unit> {
public final /* synthetic */ AppFragment $fragment$inlined;
public final /* synthetic */ View $saveAction$inlined;
public final /* synthetic */ View $view;
public final /* synthetic */ StatefulViews this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StatefulViews$setupTextWatcherWithSaveAction$$inlined$forEach$lambda$2(View view, StatefulViews statefulViews, View view2, AppFragment appFragment) {
super(1);
this.$view = view;
this.this$0 = statefulViews;
this.$saveAction$inlined = view2;
this.$fragment$inlined = appFragment;
}
/* 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(Boolean bool) {
invoke(bool.booleanValue());
return Unit.a;
}
public final void invoke(boolean z2) {
this.this$0.put(this.$view.getId(), Boolean.valueOf(z2));
this.this$0.configureSaveActionView(this.$saveAction$inlined);
}
}