chore: Follow up powerlevel role badges
This commit is contained in:
parent
05d5577a7b
commit
d78c45a13d
1 changed files with 7 additions and 7 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
import 'package:fluffychat/config/app_config.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import 'package:flutter_gen/gen_l10n/l10n.dart';
|
import 'package:flutter_gen/gen_l10n/l10n.dart';
|
||||||
|
|
@ -51,19 +52,18 @@ class ParticipantListItem extends StatelessWidget {
|
||||||
if (permissionBatch.isNotEmpty)
|
if (permissionBatch.isNotEmpty)
|
||||||
Container(
|
Container(
|
||||||
padding: const EdgeInsets.symmetric(
|
padding: const EdgeInsets.symmetric(
|
||||||
horizontal: 8,
|
horizontal: 12,
|
||||||
vertical: 2,
|
vertical: 6,
|
||||||
),
|
),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: theme.colorScheme.primaryContainer,
|
color: theme.colorScheme.primaryContainer,
|
||||||
borderRadius: BorderRadius.circular(16),
|
borderRadius: BorderRadius.circular(
|
||||||
|
AppConfig.borderRadius,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
child: Text(
|
child: Text(
|
||||||
permissionBatch,
|
permissionBatch,
|
||||||
style: TextStyle(
|
style: TextStyle(color: theme.colorScheme.onPrimaryContainer),
|
||||||
fontSize: 12,
|
|
||||||
color: theme.colorScheme.onPrimaryContainer,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
membershipBatch == null
|
membershipBatch == null
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue