| Index: pkg/intl/lib/bidi_formatter.dart
|
| diff --git a/pkg/intl/lib/bidi_formatter.dart b/pkg/intl/lib/bidi_formatter.dart
|
| index 048a9deb6d2915d974dc9da8c157973c8214ad39..2c3c8c4be4e81c7f17b64b67f3b1ee8993e0ffe4 100644
|
| --- a/pkg/intl/lib/bidi_formatter.dart
|
| +++ b/pkg/intl/lib/bidi_formatter.dart
|
| @@ -172,11 +172,7 @@ class BidiFormatter {
|
| (contextDirection == TextDirection.RTL &&
|
| (direction == TextDirection.LTR ||
|
| Bidi.endsWithLtr(text, isHtml)))) {
|
| - if (contextDirection == TextDirection.LTR) {
|
| - return Bidi.LRM;
|
| - } else {
|
| - return Bidi.RLM;
|
| - }
|
| + return contextDirection == TextDirection.LTR ? Bidi.LRM : Bidi.RLM;
|
| } else {
|
| return '';
|
| }
|
|
|