refactor: Update dependencies

This commit is contained in:
Krille 2023-07-13 19:46:10 +09:00
commit 91fc889bce
20 changed files with 422 additions and 293 deletions

View file

@ -83,7 +83,9 @@ class ChatDetailsController extends State<ChatDetails> {
RequestType.GET,
'/client/unstable/org.matrix.msc2432/rooms/${Uri.encodeComponent(room.id)}/aliases',
)
.then((response) => List<String>.from(response['aliases'])),
.then(
(response) => List<String>.from(response['aliases'] as Iterable),
),
);
// Switch to the stable api once it is implemented.