refactor: use more specific type
This commit is contained in:
parent
115c144cd6
commit
bc2dac2ecc
|
|
@ -1615,7 +1615,7 @@ sort order of ${prevState.sortOrder}. This should never happen...''');
|
||||||
.removeWhere((String userId, v) => !trackedUserIds.contains(userId));
|
.removeWhere((String userId, v) => !trackedUserIds.contains(userId));
|
||||||
|
|
||||||
// Check if there are outdated device key lists. Add it to the set.
|
// 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) {
|
for (final userId in trackedUserIds) {
|
||||||
if (!userDeviceKeys.containsKey(userId)) {
|
if (!userDeviceKeys.containsKey(userId)) {
|
||||||
_userDeviceKeys[userId] = DeviceKeysList(userId, this);
|
_userDeviceKeys[userId] = DeviceKeysList(userId, this);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue