fix some stuff (maybe?)
This commit is contained in:
parent
a4d60e6c83
commit
3e82faeb86
10 changed files with 58 additions and 36 deletions
|
|
@ -9,7 +9,9 @@ class MessageController extends AsyncNotifier<TextMessage?> {
|
|||
|
||||
@override
|
||||
Future<TextMessage?> build() async {
|
||||
final room = await ref.watch(SelectedRoomController.provider.future);
|
||||
final room = await ref.watch(
|
||||
SelectedRoomController.provider.selectAsync((a) => a),
|
||||
);
|
||||
if (room == null) return null;
|
||||
|
||||
final event = await room.roomData.getEventById(id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue