mirror of
https://github.com/bitwarden/mobile.git
synced 2025-02-15 01:01:25 +01:00
Don't animate loading alert
This commit is contained in:
parent
65a8b3fcd4
commit
8f77df4ebb
@ -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 New Issue
Block a user