discord-jadx/app/src/main/java/com/discord/widgets/settings/WidgetSettingsVoice$onViewB...

60 lines
2.4 KiB
Java

package com.discord.widgets.settings;
import android.view.View;
import c.q.a.k.a;
import com.discord.utilities.view.extensions.ViewExtensions;
import d0.l;
import d0.w.g.c;
import d0.w.h.a.e;
import d0.w.h.a.k;
import d0.z.d.m;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
import kotlin.jvm.functions.Function2;
import kotlinx.coroutines.CoroutineScope;
/* compiled from: WidgetSettingsVoice.kt */
@e(c = "com.discord.widgets.settings.WidgetSettingsVoice$onViewBound$3$1", f = "WidgetSettingsVoice.kt", l = {112}, m = "invokeSuspend")
public final class WidgetSettingsVoice$onViewBound$3$1 extends k implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
public final /* synthetic */ View $target;
public int label;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetSettingsVoice$onViewBound$3$1(View view, Continuation continuation) {
super(2, continuation);
this.$target = view;
}
@Override // d0.w.h.a.a
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
m.checkNotNullParameter(continuation, "completion");
return new WidgetSettingsVoice$onViewBound$3$1(this.$target, continuation);
}
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */
@Override // kotlin.jvm.functions.Function2
public final Object invoke(CoroutineScope coroutineScope, Continuation<? super Unit> continuation) {
return ((WidgetSettingsVoice$onViewBound$3$1) create(coroutineScope, continuation)).invokeSuspend(Unit.a);
}
@Override // d0.w.h.a.a
public final Object invokeSuspend(Object obj) {
Object coroutine_suspended = c.getCOROUTINE_SUSPENDED();
int i = this.label;
if (i == 0) {
l.throwOnFailure(obj);
this.label = 1;
if (a.n(1000, this) == coroutine_suspended) {
return coroutine_suspended;
}
} else if (i == 1) {
l.throwOnFailure(obj);
} else {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
View view = this.$target;
m.checkNotNullExpressionValue(view, "target");
ViewExtensions.hintWithRipple$default(view, 0, 1, null);
return Unit.a;
}
}