Browse Source
Merge branch 'master' into avalonia-list-improvements
pull/2882/head
Dariusz Komosiński
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
src/Avalonia.Dialogs/ManagedFileChooserViewModel.cs
-
src/Windows/Avalonia.Win32/WindowsMountedVolumeInfoListener.cs
|
|
|
@ -255,7 +255,7 @@ namespace Avalonia.Dialogs |
|
|
|
{ |
|
|
|
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) |
|
|
|
{ |
|
|
|
infos = infos.Where(i => (i.Attributes & (FileAttributes.Hidden | FileAttributes.System)) != 0); |
|
|
|
infos = infos.Where(i => (i.Attributes & (FileAttributes.Hidden | FileAttributes.System)) == 0); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
|
|
|
|
@ -11,7 +11,7 @@ namespace Avalonia.Win32 |
|
|
|
internal class WindowsMountedVolumeInfoListener : IDisposable |
|
|
|
{ |
|
|
|
private readonly CompositeDisposable _disposables; |
|
|
|
private readonly ObservableCollection<MountedVolumeInfo> _targetObs; |
|
|
|
private readonly ObservableCollection<MountedVolumeInfo> _targetObs = new ObservableCollection<MountedVolumeInfo>(); |
|
|
|
private bool _beenDisposed = false; |
|
|
|
private ObservableCollection<MountedVolumeInfo> mountedDrives; |
|
|
|
|
|
|
|
|