1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 15:53:44 +00:00

Fix for password unlock for autofill and share-to-send on Android (#1453)

This commit is contained in:
Matt Portune
2021-07-09 11:48:03 -04:00
committed by GitHub
parent 9298d57f22
commit ff19578807
5 changed files with 41 additions and 1 deletions

View File

@@ -398,7 +398,7 @@ namespace Bit.App.Pages
if (IsAddFromShare && Device.RuntimePlatform == Device.Android)
{
_deviceActionService.CloseMainApp();
CloseMainApp();
}
else
{
@@ -429,6 +429,14 @@ namespace Bit.App.Pages
return false;
}
public void CloseMainApp()
{
if (Device.RuntimePlatform == Device.Android)
{
_deviceActionService.CloseMainApp();
}
}
public async Task<bool> RemovePasswordAsync()
{
return await AppHelpers.RemoveSendPasswordAsync(SendId);