File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -661,8 +661,10 @@ public async void DeleteItem_Click(object sender, RoutedEventArgs e)
661
661
CurrentInstance . deleteProgressBoxIndicator . Maximum = selectedItems . Count ;
662
662
CurrentInstance . deleteProgressBoxIndicator . Value = 0 ;
663
663
CurrentInstance . deleteProgressBoxTitle . Text = "Moving " + selectedItems . Count + " items to the Recycle Bin" ;
664
-
665
- CurrentInstance . deleteProgressBox . Visibility = Visibility . Visible ;
664
+ if ( selectedItems . Count > 5 )
665
+ {
666
+ CurrentInstance . deleteProgressBox . Visibility = Visibility . Visible ;
667
+ }
666
668
CurrentInstance . deleteProgressBoxTextInfo . Text = "Removing item (0/" + selectedItems . Count + ")" ;
667
669
foreach ( ListedItem storItem in selectedItems )
668
670
{
@@ -718,7 +720,10 @@ public async void DeleteItem_Click(object sender, RoutedEventArgs e)
718
720
CurrentInstance . deleteProgressBoxIndicator . Value = 0 ;
719
721
CurrentInstance . deleteProgressBoxTitle . Text = "Moving " + selectedItems . Count + " items to the Recycle Bin" ;
720
722
721
- CurrentInstance . deleteProgressBox . Visibility = Visibility . Visible ;
723
+ if ( selectedItems . Count > 5 )
724
+ {
725
+ CurrentInstance . deleteProgressBox . Visibility = Visibility . Visible ;
726
+ }
722
727
CurrentInstance . deleteProgressBoxTextInfo . Text = "Removing item (0/" + selectedItems . Count + ")" ;
723
728
724
729
foreach ( ListedItem storItem in selectedItems )
You can’t perform that action at this time.
0 commit comments