named records, small fixes to last commit

This commit is contained in:
Henry Hiles 2026-09-28 13:17:15 -04:00
commit 07f8e58a4c
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
5 changed files with 48 additions and 35 deletions

View file

@ -27,7 +27,10 @@ extension BuildEventOptions on Event {
final theme = Theme.of(context);
final danger = theme.colorScheme.error;
final notifier = RoomChatController.provider((roomId, null)).notifier;
final notifier = RoomChatController.provider((
roomId: roomId,
contextualEvent: null,
)).notifier;
final isPinned = ref
.watch(PinnedIdsController.provider(roomId))