diff --git a/app/lib/page/profile/account/account_manage_page.dart b/app/lib/page/profile/account/account_manage_page.dart index 2dea6152e..636318c8f 100644 --- a/app/lib/page/profile/account/account_manage_page.dart +++ b/app/lib/page/profile/account/account_manage_page.dart @@ -55,7 +55,7 @@ class _AccountManagePageState extends State { final allFaucets = await webApi.encointer.getAllFaucetsWithAccount(); // show faucets we have reputation for and faucets of the currently selected cid. - final reputationsCids = _appStore.encointer.account!.reputations.values.map((e) => e.communityIdentifier).toSet() + final relevantCids = _appStore.encointer.account!.reputations.values.map((e) => e.communityIdentifier).toSet() ..add(_appStore.encointer.chosenCid!); faucets = Map.fromEntries(allFaucets.entries.where((e) { @@ -64,7 +64,7 @@ class _AccountManagePageState extends State { // if the whitelist is null, all communities may access it. return true; } else { - return containsAny(whitelist, reputationsCids.toList()); + return containsAny(whitelist, relevantCids.toList()); } })); setState(() {});