named records, small fixes to last commit
This commit is contained in:
parent
a220e27877
commit
07f8e58a4c
5 changed files with 48 additions and 35 deletions
|
|
@ -62,10 +62,13 @@ final class const RoomChat({
|
|||
final roomId = this.roomId!;
|
||||
|
||||
final controllerProvider = RoomChatController.provider((
|
||||
roomId,
|
||||
contextualEvent.value == null
|
||||
roomId: roomId,
|
||||
contextualEvent: contextualEvent.value == null
|
||||
? null
|
||||
: (contextualEvent.value!.rowId, contextualEvent.value!.eventId),
|
||||
: (
|
||||
rowId: contextualEvent.value!.rowId,
|
||||
eventId: contextualEvent.value!.eventId,
|
||||
),
|
||||
));
|
||||
final notifier = ref.watch(controllerProvider.notifier);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue