@@ -236,6 +236,7 @@ class PerAccountStore extends ChangeNotifier with ChannelStore, MessageStore {
236
236
realmDefaultExternalAccounts: initialSnapshot.realmDefaultExternalAccounts,
237
237
realmEmoji: initialSnapshot.realmEmoji,
238
238
customProfileFields: _sortCustomProfileFields (initialSnapshot.customProfileFields),
239
+ emailAddressVisibility: initialSnapshot.emailAddressVisibility,
239
240
accountId: accountId,
240
241
selfUserId: account.userId,
241
242
userSettings: initialSnapshot.userSettings,
@@ -269,6 +270,7 @@ class PerAccountStore extends ChangeNotifier with ChannelStore, MessageStore {
269
270
required this .realmDefaultExternalAccounts,
270
271
required this .realmEmoji,
271
272
required this .customProfileFields,
273
+ required this .emailAddressVisibility,
272
274
required this .accountId,
273
275
required this .selfUserId,
274
276
required this .userSettings,
@@ -311,6 +313,8 @@ class PerAccountStore extends ChangeNotifier with ChannelStore, MessageStore {
311
313
final Map <String , RealmDefaultExternalAccount > realmDefaultExternalAccounts;
312
314
Map <String , RealmEmojiItem > realmEmoji;
313
315
List <CustomProfileField > customProfileFields;
316
+ /// For docs, please see [InitialSnapshot.emailAddressVisibility] .
317
+ final EmailAddressVisibility ? emailAddressVisibility; // TODO(#668): update this realm setting
314
318
315
319
////////////////////////////////
316
320
// Data attached to the self-account on the realm.
0 commit comments