File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,11 @@ await CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(CoreDispatcherPrio
90
90
if ( ! MainPage . SideBarItems . Contains ( drive ) )
91
91
{
92
92
MainPage . SideBarItems . Add ( drive ) ;
93
- DrivesWidget . ItemsAdded . Add ( drive ) ;
93
+
94
+ if ( drive . Type != DriveType . VirtualDrive )
95
+ {
96
+ DrivesWidget . ItemsAdded . Add ( drive ) ;
97
+ }
94
98
}
95
99
}
96
100
foreach ( INavigationControlItem item in MainPage . SideBarItems . ToList ( ) )
@@ -126,7 +130,11 @@ await CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(CoreDispatcherPrio
126
130
if ( ! MainPage . SideBarItems . Contains ( drive ) )
127
131
{
128
132
MainPage . SideBarItems . Add ( drive ) ;
129
- DrivesWidget . ItemsAdded . Add ( drive ) ;
133
+
134
+ if ( drive . Type != DriveType . VirtualDrive )
135
+ {
136
+ DrivesWidget . ItemsAdded . Add ( drive ) ;
137
+ }
130
138
}
131
139
}
132
140
foreach ( INavigationControlItem item in MainPage . SideBarItems . ToList ( ) )
Original file line number Diff line number Diff line change 40
40
<DataTemplate x : DataType =" local2:DriveItem" >
41
41
<Grid
42
42
Width =" 270"
43
- extensions:VisualExtensions.CenterPoint=" 80 ,45,0"
43
+ extensions:VisualExtensions.CenterPoint=" 135 ,45,0"
44
44
PointerEntered =" GridScaleUp"
45
45
PointerExited =" GridScaleNormal" >
46
46
<animations : Implicit .Animations>
You can’t perform that action at this time.
0 commit comments