|
|
|
@ -1,3 +1,4 @@
|
|
|
|
|
import 'package:fluffychat/config/app_config.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
|
|
import 'package:flutter_gen/gen_l10n/l10n.dart';
|
|
|
|
@ -51,19 +52,18 @@ class ParticipantListItem extends StatelessWidget {
|
|
|
|
|
if (permissionBatch.isNotEmpty)
|
|
|
|
|
Container(
|
|
|
|
|
padding: const EdgeInsets.symmetric(
|
|
|
|
|
horizontal: 8,
|
|
|
|
|
vertical: 2,
|
|
|
|
|
horizontal: 12,
|
|
|
|
|
vertical: 6,
|
|
|
|
|
),
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
color: theme.colorScheme.primaryContainer,
|
|
|
|
|
borderRadius: BorderRadius.circular(16),
|
|
|
|
|
borderRadius: BorderRadius.circular(
|
|
|
|
|
AppConfig.borderRadius,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
child: Text(
|
|
|
|
|
permissionBatch,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
color: theme.colorScheme.onPrimaryContainer,
|
|
|
|
|
),
|
|
|
|
|
style: TextStyle(color: theme.colorScheme.onPrimaryContainer),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
membershipBatch == null
|
|
|
|
|