41 lines
1.4 KiB
Java
41 lines
1.4 KiB
Java
|
package defpackage;
|
||
|
|
||
|
import com.discord.views.calls.VideoCallParticipantView;
|
||
|
import d0.z.d.m;
|
||
|
import kotlin.Unit;
|
||
|
import kotlin.jvm.functions.Function1;
|
||
|
import rx.Subscription;
|
||
|
/* compiled from: kotlin-style lambda group */
|
||
|
/* renamed from: o reason: default package */
|
||
|
public final class o extends d0.z.d.o implements Function1<Subscription, Unit> {
|
||
|
public final /* synthetic */ int i;
|
||
|
public final /* synthetic */ Object j;
|
||
|
|
||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||
|
public o(int i, Object obj) {
|
||
|
super(1);
|
||
|
this.i = i;
|
||
|
this.j = obj;
|
||
|
}
|
||
|
|
||
|
/* 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 final Unit invoke(Subscription subscription) {
|
||
|
int i = this.i;
|
||
|
if (i == 0) {
|
||
|
Subscription subscription2 = subscription;
|
||
|
m.checkNotNullParameter(subscription2, "it");
|
||
|
((VideoCallParticipantView) this.j).n = subscription2;
|
||
|
return Unit.a;
|
||
|
} else if (i == 1) {
|
||
|
Subscription subscription3 = subscription;
|
||
|
m.checkNotNullParameter(subscription3, "it");
|
||
|
((VideoCallParticipantView) this.j).p = subscription3;
|
||
|
return Unit.a;
|
||
|
} else {
|
||
|
throw null;
|
||
|
}
|
||
|
}
|
||
|
}
|