mirror of
https://github.com/bitwarden/mobile
synced 2025-12-15 07:43:37 +00:00
Vault Timeout Policy (#1530)
This commit is contained in:
@@ -309,12 +309,7 @@ namespace Bit.App
|
||||
{
|
||||
return;
|
||||
}
|
||||
// Will only ever be null - look to remove this in the future
|
||||
var vaultTimeout = _platformUtilsService.LockTimeout();
|
||||
if (vaultTimeout == null)
|
||||
{
|
||||
vaultTimeout = await _storageService.GetAsync<int?>(Constants.VaultTimeoutKey);
|
||||
}
|
||||
var vaultTimeout = await _storageService.GetAsync<int?>(Constants.VaultTimeoutKey);
|
||||
vaultTimeout = vaultTimeout.GetValueOrDefault(-1);
|
||||
if (vaultTimeout == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user