Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -59,8 +59,8 @@ bool _messagesExistFor(String locale) { | ... | @@ -59,8 +59,8 @@ bool _messagesExistFor(String locale) { |
59 | } | 59 | } |
60 | 60 | ||
61 | MessageLookupByLibrary _findGeneratedMessagesFor(String locale) { | 61 | MessageLookupByLibrary _findGeneratedMessagesFor(String locale) { |
62 | - var actualLocale = | 62 | + var actualLocale = Intl.verifiedLocale(locale, _messagesExistFor, |
63 | - Intl.verifiedLocale(locale, _messagesExistFor, onFailure: (_) => null); | 63 | + onFailure: (_) => null); |
64 | if (actualLocale == null) return null; | 64 | if (actualLocale == null) return null; |
65 | return _findExact(actualLocale); | 65 | return _findExact(actualLocale); |
66 | } | 66 | } | ... | ... |
-
Please register or login to post a comment