forked from Juby210/discord-jadx
30 lines
1.1 KiB
Java
30 lines
1.1 KiB
Java
package com.discord.widgets.friends;
|
|
|
|
import c0.z.d.m;
|
|
import c0.z.d.o;
|
|
import com.discord.models.user.User;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetFriendsList.kt */
|
|
public final class WidgetFriendsList$onViewBound$5 extends o implements Function1<User, Unit> {
|
|
public final /* synthetic */ WidgetFriendsList this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetFriendsList$onViewBound$5(WidgetFriendsList widgetFriendsList) {
|
|
super(1);
|
|
this.this$0 = widgetFriendsList;
|
|
}
|
|
|
|
/* 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 /* bridge */ /* synthetic */ Unit invoke(User user) {
|
|
invoke(user);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(User user) {
|
|
m.checkNotNullParameter(user, "it");
|
|
WidgetFriendsList.access$getViewModel$p(this.this$0).acceptFriendRequest(user.getId(), user.getUsername());
|
|
}
|
|
}
|