Skip to content

Commit

Permalink
credits to @Krowe-moh :)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotOfficer authored Nov 23, 2024
1 parent 21e727e commit 3edcd31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FModel/ViewModels/AssetsFolderViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ static void InvokeOnCollectionChanged(TreeItem item)
InvokeOnCollectionChanged(folderItem);
}

if (item.AssetsList.Assets.Any())
if (item.AssetsList.Assets.Count != 0)
item.AssetsList.Assets.InvokeOnCollectionChanged();
}
});
Expand Down

2 comments on commit 3edcd31

@Krowe-moh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my bad 😅

used replace all to push it quick and didn't notice

@NotOfficer
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.