Skip to content

Commit fd32618

Browse files
chrisbobbegnprice
authored andcommitted
text [nfc]: Remove some arguments that equal defaults
1 parent c39874d commit fd32618

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/widgets/content.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ class _InlineContentBuilder {
765765
}
766766

767767
InlineSpan _buildStrong(StrongNode node) => _buildNodes(node.nodes,
768-
style: weightVariableTextStyle(_context!, wght: 600, wghtIfPlatformRequestsBold: 900));
768+
style: weightVariableTextStyle(_context!, wght: 600));
769769

770770
InlineSpan _buildDeleted(DeletedNode node) => _buildNodes(node.nodes,
771771
style: const TextStyle(decoration: TextDecoration.lineThrough));

lib/widgets/message_list.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -926,8 +926,7 @@ class MessageWithPossibleSender extends StatelessWidget {
926926
fontFamily: 'Source Sans 3',
927927
fontSize: 18,
928928
height: (22 / 18),
929-
).merge(weightVariableTextStyle(context, wght: 600,
930-
wghtIfPlatformRequestsBold: 900)),
929+
).merge(weightVariableTextStyle(context, wght: 600)),
931930
overflow: TextOverflow.ellipsis)),
932931
if (sender?.isBot ?? false) ...[
933932
const SizedBox(width: 5),

0 commit comments

Comments
 (0)