Simplify AppUserStore.contactsIsAllowed

This commit is contained in:
djmaze 2021-03-17 10:05:22 +01:00
parent 8157692a29
commit 676de1ed23
6 changed files with 6 additions and 12 deletions

View file

@ -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');
}