Skip to content

Commit 8cd3ad5

Browse files
committed
msglist: Use directional positioning for unread marker in RTL.
1 parent 3ae958e commit 8cd3ad5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/widgets/message_list.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1639,9 +1639,9 @@ class _UnreadMarker extends StatelessWidget {
16391639
return Stack(
16401640
children: [
16411641
child,
1642-
Positioned(
1642+
PositionedDirectional(
16431643
top: 0,
1644-
left: 0,
1644+
start: 0,
16451645
bottom: 0,
16461646
width: 4,
16471647
child: AnimatedOpacity(
@@ -1653,7 +1653,7 @@ class _UnreadMarker extends StatelessWidget {
16531653
child: DecoratedBox(
16541654
decoration: BoxDecoration(
16551655
color: messageListTheme.unreadMarker,
1656-
border: Border(left: BorderSide(
1656+
border: BorderDirectional(start: BorderSide(
16571657
width: 1,
16581658
color: messageListTheme.unreadMarkerGap)))))),
16591659
]);

0 commit comments

Comments
 (0)