discord-jadx/app/src/main/java/com/discord/widgets/user/usersheet/WidgetUserSheet$onViewCreat...

64 lines
2.6 KiB
Java

package com.discord.widgets.user.usersheet;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
/* compiled from: WidgetUserSheet.kt */
public final class WidgetUserSheet$onViewCreated$2 extends o implements Function0<Unit> {
public final /* synthetic */ boolean $isMe;
public final /* synthetic */ WidgetUserSheet this$0;
/* compiled from: WidgetUserSheet.kt */
/* renamed from: com.discord.widgets.user.usersheet.WidgetUserSheet$onViewCreated$2$1 reason: invalid class name */
public static final class AnonymousClass1 extends o implements Function0<Unit> {
public final /* synthetic */ WidgetUserSheet$onViewCreated$2 this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public AnonymousClass1(WidgetUserSheet$onViewCreated$2 widgetUserSheet$onViewCreated$2) {
super(0);
this.this$0 = widgetUserSheet$onViewCreated$2;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
c.a.d.o.g(this.this$0.this$0.getContext(), 2131893354, 0, null, 12);
}
}
/* compiled from: WidgetUserSheet.kt */
/* renamed from: com.discord.widgets.user.usersheet.WidgetUserSheet$onViewCreated$2$2 reason: invalid class name */
public static final class AnonymousClass2 extends o implements Function0<Unit> {
public final /* synthetic */ WidgetUserSheet$onViewCreated$2 this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public AnonymousClass2(WidgetUserSheet$onViewCreated$2 widgetUserSheet$onViewCreated$2) {
super(0);
this.this$0 = widgetUserSheet$onViewCreated$2;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
WidgetUserSheet.access$getViewModel$p(this.this$0.this$0).setUserSuppressedInChannel(false);
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetUserSheet$onViewCreated$2(WidgetUserSheet widgetUserSheet, boolean z2) {
super(0);
this.this$0 = widgetUserSheet;
this.$isMe = z2;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
if (this.$isMe) {
this.this$0.requestMicrophone(new AnonymousClass1(this), new AnonymousClass2(this));
} else {
WidgetUserSheet.access$getViewModel$p(this.this$0).inviteUserToSpeak();
}
}
}