Skip to content

Commit

Permalink
TW-1313: change color of displayname in message buble
Browse files Browse the repository at this point in the history
  • Loading branch information
sherlockvn authored and hoangdat committed Jan 16, 2024
1 parent d6bccca commit bc3c975
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/pages/chat/events/message/display_name_widget.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'package:fluffychat/pages/chat/events/message/message_style.dart';
import 'package:fluffychat/utils/string_extension.dart';
import 'package:flutter/material.dart';
import 'package:linagora_design_flutter/linagora_design_flutter.dart';
import 'package:matrix/matrix.dart';

class DisplayNameWidget extends StatelessWidget {
Expand All @@ -27,9 +28,7 @@ class DisplayNameWidget extends StatelessWidget {
maxCharacters: maxCharactersDisplayNameBubble,
),
style: Theme.of(context).textTheme.labelMedium?.copyWith(
color: Theme.of(
context,
).colorScheme.primary,
color: LinagoraSysColors.material().secondary,
),
maxLines: 2,
overflow: TextOverflow.clip,
Expand Down

0 comments on commit bc3c975

Please sign in to comment.