52 lines
2.4 KiB
Java
52 lines
2.4 KiB
Java
package com.discord.utilities.friendsuggestions;
|
|
|
|
import com.discord.api.friendsuggestions.FriendSuggestion;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import java.util.List;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function0;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: FriendSuggestionsFetcher.kt */
|
|
public final class FriendSuggestionsFetcher$maybeFetch$2 extends o implements Function1<List<? extends FriendSuggestion>, Unit> {
|
|
public final /* synthetic */ FriendSuggestionsFetcher this$0;
|
|
|
|
/* compiled from: FriendSuggestionsFetcher.kt */
|
|
/* renamed from: com.discord.utilities.friendsuggestions.FriendSuggestionsFetcher$maybeFetch$2$1 reason: invalid class name */
|
|
public static final class AnonymousClass1 extends o implements Function0<Unit> {
|
|
public final /* synthetic */ List $response;
|
|
public final /* synthetic */ FriendSuggestionsFetcher$maybeFetch$2 this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public AnonymousClass1(FriendSuggestionsFetcher$maybeFetch$2 friendSuggestionsFetcher$maybeFetch$2, List list) {
|
|
super(0);
|
|
this.this$0 = friendSuggestionsFetcher$maybeFetch$2;
|
|
this.$response = list;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final void mo1invoke() {
|
|
FriendSuggestionsFetcher.access$getOnFetchSuccess$p(this.this$0.this$0).invoke(this.$response);
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public FriendSuggestionsFetcher$maybeFetch$2(FriendSuggestionsFetcher friendSuggestionsFetcher) {
|
|
super(1);
|
|
this.this$0 = friendSuggestionsFetcher;
|
|
}
|
|
|
|
/* 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(List<? extends FriendSuggestion> list) {
|
|
invoke((List<FriendSuggestion>) list);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(List<FriendSuggestion> list) {
|
|
m.checkNotNullParameter(list, "response");
|
|
FriendSuggestionsFetcher.access$getDispatcher$p(this.this$0).schedule(new AnonymousClass1(this, list));
|
|
}
|
|
}
|