1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-16 00:03:22 +00:00

Fix iphone captcha throws (#1495)

This commit is contained in:
Matt Gibson
2021-08-12 09:23:02 -04:00
committed by GitHub
parent 7f7b673b0a
commit 24a0396d0f
3 changed files with 4 additions and 2 deletions

View File

@@ -106,7 +106,9 @@ namespace Bit.iOS.Core.Services
if (_progressAlert == null)
{
result.TrySetResult(0);
return result.Task;
}
_progressAlert.DismissViewController(false, () => result.TrySetResult(0));
_progressAlert.Dispose();
_progressAlert = null;