DustinBrett/daedalOS

Sometimes sort shows Date Modified when it's actually by Name

DustinBrett opened this issue · 2 comments

It's based on what was set in the previous folder

The sortFunction used is correct, but the context menu shows what the last folder was set to if the current folder has no sorting specified.

Fixed by making sure the useSortBy.currentSortBy info isn't stale or based on the wrong directory.