forked from Henry-Hiles/nexus
progress
This commit is contained in:
parent
541933a939
commit
63a9d2d169
15 changed files with 388 additions and 299 deletions
|
|
@ -7,7 +7,9 @@ import "package:nexus/models/space.dart";
|
|||
class SelectedSpaceController extends AsyncNotifier<Space> {
|
||||
@override
|
||||
Future<Space> build() async {
|
||||
final spaces = await ref.watch(SpacesController.provider.future);
|
||||
final spaces = await ref.watch(
|
||||
SpacesController.provider.selectAsync((data) => data),
|
||||
);
|
||||
final selectedSpaceId = ref.watch(
|
||||
KeyController.provider(KeyController.spaceKey),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue