Jeffrey Ye
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
5 deletions
-
src/Avalonia.Dialogs/ManagedFileChooserSources.cs
|
|
|
@ -67,11 +67,7 @@ namespace Avalonia.Dialogs |
|
|
|
{ |
|
|
|
Directory.GetFiles(x.VolumePath); |
|
|
|
} |
|
|
|
catch (UnauthorizedAccessException _) |
|
|
|
{ |
|
|
|
return null; |
|
|
|
} |
|
|
|
catch (DirectoryNotFoundException _) |
|
|
|
catch (Exception _) |
|
|
|
{ |
|
|
|
return null; |
|
|
|
} |
|
|
|
|