Skip to content

Commit

Permalink
fix: Fix speaker name to be line breakable
Browse files Browse the repository at this point in the history
  • Loading branch information
blendthink committed Oct 3, 2023
1 parent 7d5c9f4 commit 49797e2
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions lib/features/session/ui/list/sessions_table_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,12 @@ final class _TimeslotCardContent extends StatelessWidget {
backgroundImage: NetworkImage(speaker.avatarUrl),
),
Spaces.horizontal_8,
Text(
speaker.name,
style: textTheme.titleMedium?.copyWith(
color: colorScheme.onSecondaryContainer,
Flexible(
child: Text(
speaker.name,
style: textTheme.titleMedium?.copyWith(
color: colorScheme.onSecondaryContainer,
),
),
),
],
Expand Down Expand Up @@ -151,10 +153,12 @@ final class _TalkCardContent extends StatelessWidget {
backgroundImage: NetworkImage(_talk.speaker.avatarUrl),
),
Spaces.horizontal_8,
Text(
_talk.speaker.name,
style: textTheme.titleMedium?.copyWith(
color: colorScheme.onSecondaryContainer,
Flexible(
child: Text(
_talk.speaker.name,
style: textTheme.titleMedium?.copyWith(
color: colorScheme.onSecondaryContainer,
),
),
),
],
Expand Down

0 comments on commit 49797e2

Please sign in to comment.