Views are not saved on the desktop appplication
The views are not saved on the Teams desktop. If change a view on planner or if a sort my folders by name, size or modification, the last view mode is not saved.
I think you should go back the last view mode you have used.
Sean Ellis commented
The application should preserve state.