Remove flutter chat #26
1 changed files with 0 additions and 16 deletions
remove now unused method on room chat controller
commit
5d1db60a9f
|
|
@ -161,22 +161,6 @@ class RoomChatController extends AsyncNotifier<IList<Event>> {
|
||||||
// state = state TODO
|
// state = state TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> scrollToEvent(Event event) async {
|
|
||||||
// TODO: Impl
|
|
||||||
// final controller = await future;
|
|
||||||
// Future<void> setFlashing(bool flashing) => controller.updateMessage(
|
|
||||||
// message,
|
|
||||||
// message.copyWith(
|
|
||||||
// metadata: {...(message.metadata ?? {}), "flashing": flashing},
|
|
||||||
// ),
|
|
||||||
// );
|
|
||||||
|
|
||||||
// await setFlashing(true);
|
|
||||||
// Timer(Duration(seconds: 1), () => setFlashing(false));
|
|
||||||
|
|
||||||
// return await controller.scrollToMessage(message.id);
|
|
||||||
}
|
|
||||||
|
|
||||||
Future<void> removeReaction(
|
Future<void> removeReaction(
|
||||||
String reaction,
|
String reaction,
|
||||||
Event event,
|
Event event,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue