Browse Source
Merge branch 'master' into Storage-getItem-can-be-null
pull/9901/head
Max Katz
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
5 deletions
-
samples/ControlCatalog/ViewModels/ContextPageViewModel.cs
|
|
|
@ -56,12 +56,9 @@ namespace ControlCatalog.ViewModels |
|
|
|
|
|
|
|
var result = await window.StorageProvider.OpenFilePickerAsync(new Avalonia.Platform.Storage.FilePickerOpenOptions() { AllowMultiple = true }); |
|
|
|
|
|
|
|
if (result != null) |
|
|
|
foreach (var file in result) |
|
|
|
{ |
|
|
|
foreach (var file in result) |
|
|
|
{ |
|
|
|
System.Diagnostics.Debug.WriteLine($"Opened: {file.Name}"); |
|
|
|
} |
|
|
|
System.Diagnostics.Debug.WriteLine($"Opened: {file.Name}"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|