refactor: use more specific type

This commit is contained in:
Lukas Lihotzki 2021-06-17 19:19:51 +02:00
parent 115c144cd6
commit bc2dac2ecc
1 changed files with 1 additions and 1 deletions

View File

@ -1615,7 +1615,7 @@ sort order of ${prevState.sortOrder}. This should never happen...''');
.removeWhere((String userId, v) => !trackedUserIds.contains(userId));
// Check if there are outdated device key lists. Add it to the set.
final outdatedLists = <String, dynamic>{};
final outdatedLists = <String, List<String>>{};
for (final userId in trackedUserIds) {
if (!userDeviceKeys.containsKey(userId)) {
_userDeviceKeys[userId] = DeviceKeysList(userId, this);