32 lines
1.3 KiB
Java
32 lines
1.3 KiB
Java
|
package com.discord.widgets.friends;
|
||
|
|
||
|
import com.discord.i18n.RenderContext;
|
||
|
import com.discord.widgets.friends.FriendsListViewModel;
|
||
|
import d0.z.d.m;
|
||
|
import d0.z.d.o;
|
||
|
import kotlin.Unit;
|
||
|
import kotlin.jvm.functions.Function1;
|
||
|
/* compiled from: WidgetFriendsListAdapter.kt */
|
||
|
public final class WidgetFriendsListAdapter$ItemSuggestedFriendHeader$onConfigure$1 extends o implements Function1<RenderContext, Unit> {
|
||
|
public final /* synthetic */ FriendsListViewModel.Item $data;
|
||
|
|
||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||
|
public WidgetFriendsListAdapter$ItemSuggestedFriendHeader$onConfigure$1(FriendsListViewModel.Item item) {
|
||
|
super(1);
|
||
|
this.$data = item;
|
||
|
}
|
||
|
|
||
|
/* 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(RenderContext renderContext) {
|
||
|
invoke(renderContext);
|
||
|
return Unit.a;
|
||
|
}
|
||
|
|
||
|
public final void invoke(RenderContext renderContext) {
|
||
|
m.checkNotNullParameter(renderContext, "$receiver");
|
||
|
renderContext.a.put("count", String.valueOf(((FriendsListViewModel.Item.SuggestedFriendsHeader) this.$data).getCount()));
|
||
|
}
|
||
|
}
|