mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Simplify AppUserStore.contactsIsAllowed
This commit is contained in:
parent
8157692a29
commit
676de1ed23
6 changed files with 6 additions and 12 deletions
|
|
@ -45,7 +45,7 @@ export class SettingsUserScreen extends AbstractSettingsScreen {
|
|||
|
||||
settingsAddViewModel(GeneralUserSettings, 'SettingsGeneral', 'SETTINGS_LABELS/LABEL_GENERAL_NAME', 'general', true);
|
||||
|
||||
if (AppUserStore.contactsIsAllowed()) {
|
||||
if (AppUserStore.allowContacts()) {
|
||||
settingsAddViewModel(ContactsUserSettings, 'SettingsContacts', 'SETTINGS_LABELS/LABEL_CONTACTS_NAME', 'contacts');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue