discord-jadx/app/src/main/java/com/discord/stores/StoreUserProfile$observeUse...

25 lines
1.0 KiB
Java

package com.discord.stores;
import com.discord.models.domain.ModelUserProfile;
import d0.z.d.o;
import kotlin.jvm.functions.Function0;
/* compiled from: StoreUserProfile.kt */
public final class StoreUserProfile$observeUserProfile$1 extends o implements Function0<ModelUserProfile> {
public final /* synthetic */ long $userId;
public final /* synthetic */ StoreUserProfile this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreUserProfile$observeUserProfile$1(StoreUserProfile storeUserProfile, long j) {
super(0);
this.this$0 = storeUserProfile;
this.$userId = j;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final ModelUserProfile mo1invoke() {
ModelUserProfile modelUserProfile = (ModelUserProfile) StoreUserProfile.access$getProfilesSnapshot$p(this.this$0).get(Long.valueOf(this.$userId));
return modelUserProfile != null ? modelUserProfile : StoreUserProfile.access$getEmptyProfile$p(this.this$0);
}
}