treewide: ref.watch(ClientController.provider.notifier) -> ref.read

This commit is contained in:
Henry Hiles 2026-09-24 20:35:20 -04:00
commit 943cd85e22
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
8 changed files with 11 additions and 11 deletions

View file

@ -11,7 +11,7 @@ class NotificationsController([final NotificationsRequest? request])
@override
Future<IList<Event>> build() async {
final client = ref.watch(ClientController.provider.notifier);
final client = ref.read(ClientController.provider.notifier);
final (unreadType, roomId) = request ?? (null, null);
@ -32,7 +32,7 @@ class NotificationsController([final NotificationsRequest? request])
final lastTs = currentNotifications.lastOrNull?.timestamp;
if (lastTs == null) return const .empty();
final client = ref.watch(ClientController.provider.notifier);
final client = ref.read(ClientController.provider.notifier);
final (unreadType, roomId) = request ?? (null, null);
final newNotifications = await client.getMentions(