feat(ui): animate folder expand in the sidebar

This commit is contained in:
mika kuns
2026-09-30 10:19:35 +02:00
parent 60358100be
commit 928e3905d9
4 changed files with 18 additions and 1 deletions
@@ -730,6 +730,7 @@ public sealed partial class ListsIslandViewModel : ViewModelBase, IDisposable
private void ToggleFolder(ListFolderNavItemViewModel? folder)
{
if (folder is null) return;
folder.AnimateExpand = true;
folder.IsCollapsed = !folder.IsCollapsed;
if (_folderCollapseCts.TryGetValue(folder.Id, out var previous)) previous.Cancel();
var cts = new CancellationTokenSource();