mirror of
https://github.com/bitwarden/mobile.git
synced 2025-01-10 19:27:42 +01:00
no need to schedule locking if already locked
This commit is contained in:
parent
cf41c5e090
commit
3f8ab1bfe7
@ -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 New Issue
Block a user