1
0
mirror of https://github.com/bitwarden/mobile synced 2024-12-27 09:15:54 +01:00

PM-2249 Fix vault timeout action policy check (#2521)

This commit is contained in:
Federico Maccaroni 2023-05-15 15:28:18 +02:00 committed by GitHub
parent 9d6b938ba9
commit fdaf743868
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -382,7 +382,7 @@ namespace Bit.App.Pages
public async Task VaultTimeoutActionAsync()
{
if (_vaultTimeoutPolicy != null &&
!string.IsNullOrEmpty(_vaultTimeoutPolicy.GetString(Policy.MINUTES_KEY)))
!string.IsNullOrEmpty(_vaultTimeoutPolicy.GetString(Policy.ACTION_KEY)))
{
// do nothing if we have a policy set
return;