Skip to content

Commit bd658fd

Browse files
committed
Show change password warning message only for subscribers
1 parent a2b1c6a commit bd658fd

5 files changed

Lines changed: 983 additions & 1218 deletions

File tree

lib/generated/intl/messages_all.dart

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ MessageLookupByLibrary? _findExact(String localeName) {
3535
/// User programs should call this before using [localeName] for messages.
3636
Future<bool> initializeMessages(String localeName) {
3737
var availableLocale = Intl.verifiedLocale(
38-
localeName, (locale) => _deferredLibraries[locale] != null,
39-
onFailure: (_) => null);
38+
localeName,
39+
(locale) => _deferredLibraries[locale] != null,
40+
onFailure: (_) => null,
41+
);
4042
if (availableLocale == null) {
4143
return new SynchronousFuture(false);
4244
}
@@ -56,8 +58,11 @@ bool _messagesExistFor(String locale) {
5658
}
5759

5860
MessageLookupByLibrary? _findGeneratedMessagesFor(String locale) {
59-
var actualLocale =
60-
Intl.verifiedLocale(locale, _messagesExistFor, onFailure: (_) => null);
61+
var actualLocale = Intl.verifiedLocale(
62+
locale,
63+
_messagesExistFor,
64+
onFailure: (_) => null,
65+
);
6166
if (actualLocale == null) return null;
6267
return _findExact(actualLocale);
6368
}

0 commit comments

Comments
 (0)