Skip to content

Commit

Permalink
widgets: Remove unnecessary EdgeInsetsDirectional with symmetric star…
Browse files Browse the repository at this point in the history
…t/end

This doesn't seem likely to become asymmetrical, and perhaps we can
save a bit of computation with this.
  • Loading branch information
chrisbobbe authored and gnprice committed Nov 15, 2023
1 parent 0e33d57 commit 255fff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/widgets/unread_count_badge.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class UnreadCountBadge extends StatelessWidget {
color: getBackgroundColor(),
),
child: Padding(
padding: const EdgeInsetsDirectional.fromSTEB(4, 0, 4, 1),
padding: const EdgeInsets.fromLTRB(4, 0, 4, 1),
child: Text(
style: const TextStyle(
fontFamily: 'Source Sans 3',
Expand Down

0 comments on commit 255fff3

Please sign in to comment.