mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
no need to schedule locking if already locked
This commit is contained in:
parent
cf41c5e090
commit
3f8ab1bfe7
1 changed files with 9 additions and 0 deletions
|
@ -181,6 +181,15 @@ namespace Bit.App
|
|||
|
||||
private async Task HandleLockingAsync()
|
||||
{
|
||||
if(await _lockService.IsLockedAsync())
|
||||
{
|
||||
return;
|
||||
}
|
||||
var authed = await _userService.IsAuthenticatedAsync();
|
||||
if(!authed)
|
||||
{
|
||||
return;
|
||||
}
|
||||
var lockOption = _platformUtilsService.LockTimeout();
|
||||
if(lockOption == null)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue