discord-jadx/app/src/main/java/defpackage/r.java

41 lines
1.3 KiB
Java
Raw Normal View History

2021-11-08 18:25:28 +00:00
package defpackage;
2021-12-17 22:03:14 +00:00
import com.discord.views.calls.VideoCallParticipantView;
import d0.z.d.m;
2021-11-08 18:25:28 +00:00
import d0.z.d.o;
import kotlin.Unit;
2021-12-17 22:03:14 +00:00
import kotlin.jvm.functions.Function1;
import rx.Subscription;
2021-11-08 18:25:28 +00:00
/* compiled from: kotlin-style lambda group */
/* renamed from: r reason: default package */
2022-03-02 20:59:20 +00:00
/* loaded from: classes3.dex */
2021-12-17 22:03:14 +00:00
public final class r extends o implements Function1<Subscription, Unit> {
public final /* synthetic */ int j;
public final /* synthetic */ Object k;
2021-11-08 18:25:28 +00:00
2022-03-02 20:59:20 +00:00
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
2021-12-17 22:03:14 +00:00
public r(int i, Object obj) {
super(1);
this.j = i;
this.k = obj;
2021-11-08 18:25:28 +00:00
}
2021-12-17 22:03:14 +00:00
@Override // kotlin.jvm.functions.Function1
public final Unit invoke(Subscription subscription) {
int i = this.j;
if (i == 0) {
Subscription subscription2 = subscription;
m.checkNotNullParameter(subscription2, "it");
((VideoCallParticipantView) this.k).q = subscription2;
2021-11-08 18:25:28 +00:00
return Unit.a;
2021-12-17 22:03:14 +00:00
} else if (i == 1) {
Subscription subscription3 = subscription;
m.checkNotNullParameter(subscription3, "it");
((VideoCallParticipantView) this.k).o = subscription3;
2021-11-08 18:25:28 +00:00
return Unit.a;
2021-12-17 22:03:14 +00:00
} else {
throw null;
2021-11-08 18:25:28 +00:00
}
}
}