discord-jadx/app/src/main/java/com/discord/stores/StoreLibrary$fetchApplicati...

51 lines
2.0 KiB
Java

package com.discord.stores;
import com.discord.utilities.error.Error;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
/* compiled from: StoreLibrary.kt */
public final class StoreLibrary$fetchApplications$1 extends o implements Function1<Error, Unit> {
public final /* synthetic */ StoreLibrary this$0;
/* compiled from: StoreLibrary.kt */
/* renamed from: com.discord.stores.StoreLibrary$fetchApplications$1$1 reason: invalid class name */
public static final class AnonymousClass1 extends o implements Function0<Unit> {
public final /* synthetic */ StoreLibrary$fetchApplications$1 this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public AnonymousClass1(StoreLibrary$fetchApplications$1 storeLibrary$fetchApplications$1) {
super(0);
this.this$0 = storeLibrary$fetchApplications$1;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
StoreLibrary.access$getLibraryApplications$p(this.this$0.this$0).clear();
this.this$0.this$0.markChanged();
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreLibrary$fetchApplications$1(StoreLibrary storeLibrary) {
super(1);
this.this$0 = storeLibrary;
}
/* 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(Error error) {
invoke(error);
return Unit.a;
}
public final void invoke(Error error) {
m.checkNotNullParameter(error, "it");
this.this$0.getDispatcher().schedule(new AnonymousClass1(this));
}
}