Skip to content

Commit

Permalink
chore: Follow up powerlevel role badges
Browse files Browse the repository at this point in the history
  • Loading branch information
krille-chan committed Oct 13, 2024
1 parent 05d5577 commit d78c45a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/pages/chat_details/participant_list_item.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:fluffychat/config/app_config.dart';
import 'package:flutter/material.dart';

import 'package:flutter_gen/gen_l10n/l10n.dart';
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d78c45a

Please sign in to comment.