diff --git a/src/App/Pages/Settings/SettingsPage/SettingsPageViewModel.cs b/src/App/Pages/Settings/SettingsPage/SettingsPageViewModel.cs index 958e2bd91..770e26eb8 100644 --- a/src/App/Pages/Settings/SettingsPage/SettingsPageViewModel.cs +++ b/src/App/Pages/Settings/SettingsPage/SettingsPageViewModel.cs @@ -379,17 +379,23 @@ namespace Bit.App.Pages } var accountItems = new List { - new SettingsPageListItem { Name = AppResources.ChangeMasterPassword }, new SettingsPageListItem { Name = AppResources.FingerprintPhrase }, new SettingsPageListItem { Name = AppResources.LogOut } }; + if (IncludeLinksWithSubscriptionInfo()) + { + accountItems.Insert(0, new SettingsPageListItem { Name = AppResources.ChangeMasterPassword }); + } var toolsItems = new List { new SettingsPageListItem { Name = AppResources.ImportItems }, - new SettingsPageListItem { Name = AppResources.ExportVault }, - new SettingsPageListItem { Name = AppResources.ShareVault }, - new SettingsPageListItem { Name = AppResources.WebVault } + new SettingsPageListItem { Name = AppResources.ExportVault } }; + if (IncludeLinksWithSubscriptionInfo()) + { + toolsItems.Add(new SettingsPageListItem { Name = AppResources.ShareVault }); + toolsItems.Add(new SettingsPageListItem { Name = AppResources.WebVault }); + } var otherItems = new List { new SettingsPageListItem { Name = AppResources.Options }, @@ -408,6 +414,15 @@ namespace Bit.App.Pages }); } + private bool IncludeLinksWithSubscriptionInfo() + { + if (Device.RuntimePlatform == Device.iOS) + { + return false; + } + return true; + } + private string GetVaultTimeoutActionFromKey(string key) { return _vaultTimeoutActions.FirstOrDefault(o => o.Key == key).Value;