fix: Move to latest null safe sdk

This commit is contained in:
Krille Fear 2021-11-09 16:53:27 +01:00
commit 33a7a00311
6 changed files with 10 additions and 19 deletions

View file

@ -235,7 +235,7 @@ class ChatListController extends State<ChatList> {
final room = Matrix.of(context).client.getRoomById(selectedRoomIds.single);
return showFutureLoadingDialog(
context: context,
future: () => room.setUnread(!room.isUnread),
future: () => room.markUnread(!room.isUnread),
);
}