mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
Instead of having two calls everywhere to show a view and hide other views, we move the logic to hide the other views inside the show function of the view. This will help as we will add other views to the app to keep the logic to hide other views in the `show` function of the view to show. So, the logic calling `show` for a view doesn't have to iterate through hiding all the other views first.