Reword ImportFromStablePopup and display the popup regardless of whether a stable install is detected.

This commit is contained in:
Lucas A
2021-05-09 21:29:41 +02:00
parent 8ba50b1854
commit a7b740fd1d
3 changed files with 4 additions and 4 deletions

View File

@ -87,7 +87,7 @@ namespace osu.Game.Database
return cachedStorage;
var taskCompletionSource = new TaskCompletionSource<string>(TaskCreationOptions.RunContinuationsAsynchronously);
dialogOverlay.Push(new StableDirectoryLocationDialog(taskCompletionSource));
Schedule(() => dialogOverlay.Push(new StableDirectoryLocationDialog(taskCompletionSource)));
var stablePath = await taskCompletionSource.Task.ConfigureAwait(false);
return cachedStorage = new StableStorage(stablePath, desktopGameHost);