1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-05 23:53:33 +00:00

PS-70 show toggle only if it's premium

This commit is contained in:
André Bispo
2022-06-20 11:17:20 +01:00
parent 751fdf2db6
commit c9c3e6d98d

View File

@@ -228,13 +228,14 @@ namespace Bit.App.Pages
}
PageTitle = ShowVaultFilter ? AppResources.Vaults : AppResources.MyVault;
}
var canAccessPremium = await _stateService.CanAccessPremiumAsync();
_doingLoad = true;
LoadedOnce = true;
ShowNoData = false;
Loading = true;
ShowList = false;
ShowAddCipherButton = !Deleted;
ShowTOTPFilter = Type == CipherType.Login;
ShowTOTPFilter = Type == CipherType.Login && canAccessPremium;
var groupedItems = new List<GroupingsPageListGroup>();
var page = Page as GroupingsPage;