fix some bugs

This commit is contained in:
Henry Hiles 2025-12-24 16:31:30 -05:00
commit 3d6d610f19
No known key found for this signature in database
4 changed files with 7 additions and 6 deletions

View file

@ -14,7 +14,9 @@ class EventsController extends AsyncNotifier<GetRoomEventsResponse> {
from: from,
limit: 32,
);
ref.watch(FromController.provider(room).notifier).set(response.end);
if (ref.mounted) {
ref.watch(FromController.provider(room).notifier).set(response.end);
}
return response;
}