Commit b9c2877 1 parent 3ba4112 commit b9c2877 Copy full SHA for b9c2877
File tree 1 file changed +2
-2
lines changed
app/lib/page/profile/account
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class _AccountManagePageState extends State<AccountManagePage> {
55
55
final allFaucets = await webApi.encointer.getAllFaucetsWithAccount ();
56
56
57
57
// show faucets we have reputation for and faucets of the currently selected cid.
58
- final reputationsCids = _appStore.encointer.account! .reputations.values.map ((e) => e.communityIdentifier).toSet ()
58
+ final relevantCids = _appStore.encointer.account! .reputations.values.map ((e) => e.communityIdentifier).toSet ()
59
59
..add (_appStore.encointer.chosenCid! );
60
60
61
61
faucets = Map .fromEntries (allFaucets.entries.where ((e) {
@@ -64,7 +64,7 @@ class _AccountManagePageState extends State<AccountManagePage> {
64
64
// if the whitelist is null, all communities may access it.
65
65
return true ;
66
66
} else {
67
- return containsAny (whitelist, reputationsCids .toList ());
67
+ return containsAny (whitelist, relevantCids .toList ());
68
68
}
69
69
}));
70
70
setState (() {});
You can’t perform that action at this time.
0 commit comments