mirror of
https://github.com/bitwarden/mobile
synced 2025-12-23 11:43:49 +00:00
[PM-6428] Implement Legacy Secure Storage (#3027)
This commit is contained in:
committed by
GitHub
parent
d6c2ebe4c2
commit
04e7cfe06d
@@ -60,7 +60,9 @@ namespace Bit.App.Utilities.AccountManagement
|
||||
public async Task StartDefaultNavigationFlowAsync(Action<AppOptions> appOptionsAction)
|
||||
{
|
||||
await _conditionedAwaiterManager.GetAwaiterForPrecondition(AwaiterPrecondition.EnvironmentUrlsInited);
|
||||
|
||||
#if ANDROID
|
||||
await _conditionedAwaiterManager.GetAwaiterForPrecondition(AwaiterPrecondition.AndroidWindowCreated);
|
||||
#endif
|
||||
appOptionsAction(Options);
|
||||
|
||||
await NavigateOnAccountChangeAsync();
|
||||
@@ -69,6 +71,9 @@ namespace Bit.App.Utilities.AccountManagement
|
||||
public async Task NavigateOnAccountChangeAsync(bool? isAuthed = null)
|
||||
{
|
||||
await _conditionedAwaiterManager.GetAwaiterForPrecondition(AwaiterPrecondition.EnvironmentUrlsInited);
|
||||
#if ANDROID
|
||||
await _conditionedAwaiterManager.GetAwaiterForPrecondition(AwaiterPrecondition.AndroidWindowCreated);
|
||||
#endif
|
||||
|
||||
// TODO: this could be improved by doing chain of responsability pattern
|
||||
// but for now it may be an overkill, if logic gets more complex consider refactoring it
|
||||
|
||||
Reference in New Issue
Block a user