diff --git a/lib/encryption/utils/bootstrap.dart b/lib/encryption/utils/bootstrap.dart index 9566ad62..8645d97f 100644 --- a/lib/encryption/utils/bootstrap.dart +++ b/lib/encryption/utils/bootstrap.dart @@ -148,7 +148,7 @@ class Bootstrap { final usage = {}; for (final keys in secrets.values) { for (final key in keys) { - usage.update(key, (i) => i++, ifAbsent: () => 1); + usage.update(key, (i) => i + 1, ifAbsent: () => 1); } } final entriesList = usage.entries.toList();