24 lines
1,015 B
Java
24 lines
1,015 B
Java
package com.discord.stores;
|
|
|
|
import com.discord.stores.StoreUserNotes;
|
|
import d0.z.d.o;
|
|
import kotlin.jvm.functions.Function0;
|
|
/* compiled from: StoreUserNotes.kt */
|
|
public final class StoreUserNotes$observeUserNote$1 extends o implements Function0<StoreUserNotes.UserNoteState> {
|
|
public final /* synthetic */ long $userId;
|
|
public final /* synthetic */ StoreUserNotes this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public StoreUserNotes$observeUserNote$1(StoreUserNotes storeUserNotes, long j) {
|
|
super(0);
|
|
this.this$0 = storeUserNotes;
|
|
this.$userId = j;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final StoreUserNotes.UserNoteState mo1invoke() {
|
|
StoreUserNotes.UserNoteState userNoteState = this.this$0.getNotesByUserId().get(Long.valueOf(this.$userId));
|
|
return userNoteState != null ? userNoteState : StoreUserNotes.UserNoteState.Loading.INSTANCE;
|
|
}
|
|
}
|