-
-
Notifications
You must be signed in to change notification settings - Fork 983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix_19333 #19814
Fix_19333 #19814
Conversation
@@ -344,6 +348,7 @@ protected String getSortEntryName() { | |||
@Override | |||
public void setTracksSortMode(@NonNull TracksSortMode sortMode, boolean sortSubFolders) { | |||
if (sortSubFolders) { | |||
removeSurplusTabsSortModes(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to call this method every time we change sort mode & perform settings.saveTabsSortModes() two times?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's true that I have not found the ideal place(s) yet when to call this. It's comparatively expensive, hence perhaps should not be called after every folder move, delete or rename
In a way I 'parked' it here under the 'sort subfolders' action where it can be triggered manually via the corresponding menu option. Will come back to this as I find some time, but it's not a priority 1 issue, I guess.
No description provided.