mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 07:35:52 +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);
|
_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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue