File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ import 'dart:math';
33import 'package:collection/collection.dart' ;
44import 'package:flutter/material.dart' ;
55import 'package:flutter_color_models/flutter_color_models.dart' ;
6- import 'package:intl/intl.dart' ;
7-
6+ import 'package:intl/intl.dart' hide TextDirection;
87import '../api/model/model.dart' ;
98import '../generated/l10n/zulip_localizations.dart' ;
109import '../model/message_list.dart' ;
@@ -1403,7 +1402,16 @@ class MessageWithPossibleSender extends StatelessWidget {
14031402 ])),
14041403 SizedBox (width: 16 ,
14051404 child: message.flags.contains (MessageFlag .starred)
1406- ? Icon (ZulipIcons .star_filled, size: 16 , color: designVariables.star)
1405+ ? Transform .translate (
1406+ offset: Offset (
1407+ switch (Directionality .of (context)) {
1408+ TextDirection .ltr => - 2 ,
1409+ TextDirection .rtl => 2 ,
1410+ },
1411+ 0 ,
1412+ ),
1413+ child: Icon (size: 16 , color: designVariables.star,
1414+ ZulipIcons .star_filled))
14071415 : null ),
14081416 ]),
14091417 ])));
You can’t perform that action at this time.
0 commit comments