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

[PS-1809] Updating the account premium state when syncing the vault (#2290)

* [PS-1809] Updating the account premium state when syncing the vault

* [PS-1809] Added validation to check if HasPremiumPersonally needs to be updated

* PS-1809 Renamed SetPremiumAsync to SetPersonalPremiumAsync
This commit is contained in:
aj-rosado
2023-02-08 12:03:02 +00:00
committed by GitHub
parent 490b74dd26
commit 0e5d6e79c5
3 changed files with 16 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ namespace Bit.Core.Abstractions
Task<bool> GetBiometricLockedAsync(string userId = null);
Task SetBiometricLockedAsync(bool value, string userId = null);
Task<bool> CanAccessPremiumAsync(string userId = null);
Task SetPersonalPremiumAsync(bool value, string userId = null);
Task<string> GetProtectedPinAsync(string userId = null);
Task SetProtectedPinAsync(string value, string userId = null);
Task<string> GetPinProtectedAsync(string userId = null);