File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ private void NavigationViewLocationItem_RightTapped(object sender, RightTappedRo
133
133
{
134
134
Microsoft . UI . Xaml . Controls . NavigationViewItem sidebarItem = ( Microsoft . UI . Xaml . Controls . NavigationViewItem ) sender ;
135
135
var item = sidebarItem . DataContext as LocationItem ;
136
+
136
137
if ( item . IsDefaultLocation )
137
138
{
138
139
ShowUnpinItem = false ;
@@ -161,6 +162,8 @@ private void NavigationViewDriveItem_RightTapped(object sender, RightTappedRoute
161
162
Microsoft . UI . Xaml . Controls . NavigationViewItem sidebarItem = ( Microsoft . UI . Xaml . Controls . NavigationViewItem ) sender ;
162
163
163
164
ShowUnpinItem = false ;
165
+ ShowEmptyRecycleBin = false ;
166
+
164
167
SideBarItemContextFlyout . ShowAt ( sidebarItem , e . GetPosition ( sidebarItem ) ) ;
165
168
166
169
App . rightClickedItem = sidebarItem . DataContext as DriveItem ;
You can’t perform that action at this time.
0 commit comments