From d15c71e5b3de26a40e877c7ac2115ad0d15ea169 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Mon, 27 Sep 2021 13:25:36 +0200 Subject: [PATCH] fix: pre vs postcrement confusion --- lib/encryption/utils/bootstrap.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();