temp: broken push to laptop
This commit is contained in:
1 parent
0a0ea86d25
commit
3a819ce180
32 files changed
+503
-573
No files matched your search
@@ -44,15 +44,13 @@ public partial class MainWindow : ReactiveWindow<MainWindowViewModel> {
|
||||
SuggestedStartLocation = await StorageProvider.TryGetWellKnownFolderAsync(WellKnownFolder.Documents)
|
||||
});
|
||||
|
||||
if (file is not null) {
|
||||
if (file is not null)
|
||||
interationContext.SetOutput(file.Path);
|
||||
}
|
||||
else {
|
||||
else
|
||||
// TODO Handle user closing the dialog.
|
||||
throw new Exception("User cancelled the file picker.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private async Task ShowErrorWindowAsync(InteractionContext<ErrorWindowViewModel, bool> interaction) {
|
||||
var window = new ErrorWindow();
|
||||
window.DataContext = interaction.Input;
|
||||
@@ -60,4 +58,4 @@ public partial class MainWindow : ReactiveWindow<MainWindowViewModel> {
|
||||
var result = await window.ShowDialog<bool>(this);
|
||||
interaction.SetOutput(result);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user