treewide: ref.watch(ClientController.provider.notifier) -> ref.read
This commit is contained in:
parent
09904536e7
commit
943cd85e22
8 changed files with 11 additions and 11 deletions
|
|
@ -6,7 +6,7 @@ class ProfileController(final String userId)
|
|||
extends AsyncNotifier<ProfileResponse> {
|
||||
@override
|
||||
Future<ProfileResponse> build() {
|
||||
final client = ref.watch(ClientController.provider.notifier);
|
||||
final client = ref.read(ClientController.provider.notifier);
|
||||
return client.getProfile(userId);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue