diff --git a/src/Files.App/UserControls/SidebarControl.xaml.cs b/src/Files.App/UserControls/SidebarControl.xaml.cs index e28267e13dc3..8446cd7296d8 100644 --- a/src/Files.App/UserControls/SidebarControl.xaml.cs +++ b/src/Files.App/UserControls/SidebarControl.xaml.cs @@ -196,8 +196,8 @@ private List GetLocationItemMenuItems(INavigatio int favoriteIndex = favoriteModel.IndexOfItem(item); int favoriteCount = favoriteModel.FavoriteItems.Count; - bool showMoveItemUp = favoriteIndex > 0; - bool showMoveItemDown = favoriteIndex < favoriteCount - 1; + bool showMoveItemUp = favoriteIndex > 0 && item.Section == SectionType.Favorites; + bool showMoveItemDown = favoriteIndex < favoriteCount - 1 && item.Section == SectionType.Favorites; bool isDriveItem = item is DriveItem; bool isDriveItemPinned = isDriveItem && (item as DriveItem).IsPinned;