mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
Don't animate loading alert
This commit is contained in:
parent
65a8b3fcd4
commit
8f77df4ebb
1 changed files with 2 additions and 2 deletions
|
@ -303,7 +303,7 @@ namespace Bit.iOS.Services
|
|||
_progressAlert.View.Add(loadingIndicator);
|
||||
|
||||
var vc = GetPresentedViewController();
|
||||
vc?.PresentViewController(_progressAlert, true, null);
|
||||
vc?.PresentViewController(_progressAlert, false, null);
|
||||
}
|
||||
|
||||
public void HideLoading()
|
||||
|
@ -313,7 +313,7 @@ namespace Bit.iOS.Services
|
|||
return;
|
||||
}
|
||||
|
||||
_progressAlert.DismissViewController(true, () => { });
|
||||
_progressAlert.DismissViewController(false, null);
|
||||
_progressAlert.Dispose();
|
||||
_progressAlert = null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue