1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-28 22:23:35 +00:00

SG-396 Fix tappable area after hiding account switching (#1956)

This commit is contained in:
Federico Maccaroni
2022-06-16 18:09:50 -03:00
committed by GitHub
parent 7c311fbb55
commit b2500557e7
2 changed files with 19 additions and 2 deletions

View File

@@ -65,6 +65,8 @@ namespace Bit.App.Controls
public bool LongPressAccountEnabled { get; set; } = true;
public Action AfterHide { get; set; }
public async Task ToggleVisibilityAsync()
{
if (IsVisible)
@@ -137,6 +139,8 @@ namespace Bit.App.Controls
// remove overlay
IsVisible = false;
AfterHide?.Invoke();
});
}