mirror of
https://github.com/bitwarden/mobile
synced 2025-12-10 05:13:31 +00:00
Don't animate loading alert
This commit is contained in:
@@ -303,7 +303,7 @@ namespace Bit.iOS.Services
|
|||||||
_progressAlert.View.Add(loadingIndicator);
|
_progressAlert.View.Add(loadingIndicator);
|
||||||
|
|
||||||
var vc = GetPresentedViewController();
|
var vc = GetPresentedViewController();
|
||||||
vc?.PresentViewController(_progressAlert, true, null);
|
vc?.PresentViewController(_progressAlert, false, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void HideLoading()
|
public void HideLoading()
|
||||||
@@ -313,7 +313,7 @@ namespace Bit.iOS.Services
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
_progressAlert.DismissViewController(true, () => { });
|
_progressAlert.DismissViewController(false, null);
|
||||||
_progressAlert.Dispose();
|
_progressAlert.Dispose();
|
||||||
_progressAlert = null;
|
_progressAlert = null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user