1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 08:15:16 +00:00

Hide useless fields

This commit is contained in:
2020-05-02 17:36:14 +02:00
parent 07adf8c2ca
commit a48e7f57a6
2 changed files with 19 additions and 4 deletions

View File

@ -126,9 +126,20 @@ List<MultiChoiceEntry<GroupMembershipLevel>> get _membershipLevels => [
title: tr("Member"),
subtitle: tr("Can access to all group posts")),
MultiChoiceEntry(
id: GroupMembershipLevel.PENDING, title: tr("Requested")),
MultiChoiceEntry(id: GroupMembershipLevel.INVITED, title: tr("Invited")),
MultiChoiceEntry(id: GroupMembershipLevel.VISITOR, title: tr("Visitor")),
id: GroupMembershipLevel.PENDING,
title: tr("Requested"),
hidden: true,
),
MultiChoiceEntry(
id: GroupMembershipLevel.INVITED,
title: tr("Invited"),
hidden: true,
),
MultiChoiceEntry(
id: GroupMembershipLevel.VISITOR,
title: tr("Visitor"),
hidden: true,
),
];
class _GroupMembershipTile extends StatefulWidget {