changed list from const to final to prevent unsupported operation error on .add()

This commit is contained in:
ggurdin 2024-10-22 09:13:38 -04:00
parent d8d069c6da
commit 0d75e961da
No known key found for this signature in database
GPG key ID: A01CB41737CBB478

View file

@ -196,7 +196,7 @@ class PangeaController {
return;
}
const List<Room> botDMs = [];
final List<Room> botDMs = [];
for (final room in matrixState.client.rooms) {
if (await room.isBotDM) {
botDMs.add(room);