Skip to content

Commit d99037c

Browse files
committed
Update ShelfPane.xaml.cs
1 parent 891d867 commit d99037c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/UserControls/Pane/ShelfPane.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private async void Shelf_Drop(object sender, DragEventArgs e)
6262
}
6363

6464
// ToDo bind to property in view model
65-
EmptyShelfContent.Visibility = ItemsSource.Count != 0 ? Microsoft.UI.Xaml.Visibility.Visible : Microsoft.UI.Xaml.Visibility.Collapsed;
65+
EmptyShelfContent.Visibility = ItemsSource.Count == 0 ? Microsoft.UI.Xaml.Visibility.Visible : Microsoft.UI.Xaml.Visibility.Collapsed;
6666
}
6767

6868
private void ListView_DragItemsStarting(object sender, DragItemsStartingEventArgs e)

0 commit comments

Comments
 (0)