34 lines
1.1 KiB
Java
34 lines
1.1 KiB
Java
package c.a.a;
|
|
|
|
import c.a.a.v;
|
|
import com.discord.models.user.User;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import java.util.Objects;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetUrgentMessageDialogViewModel.kt */
|
|
public final class t extends o implements Function1<v.c, Unit> {
|
|
public final /* synthetic */ v this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public t(v vVar) {
|
|
super(1);
|
|
this.this$0 = vVar;
|
|
}
|
|
|
|
/* 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 Unit invoke(v.c cVar) {
|
|
v.c cVar2 = cVar;
|
|
m.checkNotNullParameter(cVar2, "storeState");
|
|
v vVar = this.this$0;
|
|
Objects.requireNonNull(vVar);
|
|
User user = cVar2.a;
|
|
v.d viewState = vVar.getViewState();
|
|
vVar.updateViewState(new v.d(Integer.valueOf(user.getFlags()), viewState == null ? false : viewState.b));
|
|
return Unit.a;
|
|
}
|
|
}
|