Skip to content

Commit

Permalink
Add TODO reminder for tabsSortMode cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sonora committed May 15, 2024
1 parent 2dcb1aa commit b00678c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,8 @@ private void sortFolders(TrackFolder trackFolder, Map<String, String> tabsSortMo
}

private void removeSurplusTabsSortModes() {
// TODO: Find adequate places to call this from
// Call only from tracks root folder to not lose valid entries!
OsmandSettings settings = app.getSettings();
Map<String, String> oldTabsSortModes = settings.getTrackSortModes();
Map<String, String> tabsSortModes = new HashMap<>();
Expand Down

0 comments on commit b00678c

Please sign in to comment.