Skip to content

Commit

Permalink
fix: voice call message now uses DSBodyText
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianoct42 committed Jul 9, 2024
1 parent 18f91dc commit 0298166
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import '../../models/ds_message_bubble_style.model.dart';
import '../../models/interactive_message/ds_interactive_message.model.dart';
import '../../themes/colors/ds_colors.theme.dart';
import '../../themes/icons/ds_icons.dart';
import '../texts/ds_headline_small_text.widget.dart';
import '../texts/ds_body_text.widget.dart';
import '../utils/ds_divider.widget.dart';
import 'ds_message_bubble.widget.dart';

Expand Down Expand Up @@ -41,7 +41,7 @@ class _DSInteractiveVoiceCallMessageBubbleState
borderRadius: widget.borderRadius,
child: Column(
children: [
DSHeadlineSmallText(
DSBodyText(
widget.content.body?.text,
overflow: TextOverflow.visible,
color: DSColors.neutralLightSnow,
Expand All @@ -63,13 +63,16 @@ class _DSInteractiveVoiceCallMessageBubbleState
const SizedBox(
width: 10,
),
DSHeadlineSmallText(
DSBodyText(
widget.content.action?.parameters?['display_text'],
overflow: TextOverflow.visible,
color: DSColors.neutralLightSnow,
)
],
)
),
const SizedBox(
height: 5,
),
],
),
)
Expand Down

0 comments on commit 0298166

Please sign in to comment.