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

pull/1428/head
ggurdin 1 year ago
parent d8d069c6da
commit 0d75e961da
No known key found for this signature in database
GPG Key ID: A01CB41737CBB478

@ -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);

Loading…
Cancel
Save