chore: Make app ready for flutter 1 22

This commit is contained in:
Christian Pauly 2020-10-02 08:56:28 +02:00
commit 3910dac42c
12 changed files with 647 additions and 34 deletions

View file

@ -71,7 +71,9 @@ class ParticipantListItem extends StatelessWidget {
};
final permissionBatch = user.powerLevel == 100
? L10n.of(context).admin
: user.powerLevel >= 50 ? L10n.of(context).moderator : '';
: user.powerLevel >= 50
? L10n.of(context).moderator
: '';
var items = <PopupMenuEntry<String>>[];
if (user.id != Matrix.of(context).client.userID) {