mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-02-05 17:09:34 +00:00
progress on home screen
This commit is contained in:
parent
865a662b56
commit
479242427a
9 changed files with 333 additions and 124 deletions
|
|
@ -142,3 +142,12 @@ FutureOr<GetUserSessionsResponse> fetchContinueListening(
|
|||
// );
|
||||
return res!;
|
||||
}
|
||||
|
||||
@riverpod
|
||||
FutureOr<User> me(
|
||||
MeRef ref,
|
||||
) async {
|
||||
final api = ref.watch(authenticatedApiProvider);
|
||||
final res = await api.me.getUser();
|
||||
return res!;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue