Skip to content

Commit 7de7c7e

Browse files
authored
Code Quality: Fixed build (#12905)
1 parent 91fcfdb commit 7de7c7e

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
Binary file not shown.

src/Files.App/Helpers/UI/UIFilesystemHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ public async static Task<StorageCredential> RequestPassword(IPasswordProtectedIt
425425

426426
var credentialDialogViewModel = new CredentialDialogViewModel() { CanBeAnonymous = isFtp, PasswordOnly = !isFtp };
427427
IDialogService dialogService = Ioc.Default.GetRequiredService<IDialogService>();
428-
var dialogResult = await App.Window.DispatcherQueue.EnqueueOrInvokeAsync(() =>
428+
var dialogResult = await MainWindow.Instance.DispatcherQueue.EnqueueOrInvokeAsync(() =>
429429
dialogService.ShowDialogAsync(credentialDialogViewModel));
430430

431431
if (dialogResult != DialogResult.Primary || credentialDialogViewModel.IsAnonymous)

0 commit comments

Comments
 (0)