diff --git a/Tusker/Screens/Main/MainSplitViewController.swift b/Tusker/Screens/Main/MainSplitViewController.swift index f55e2dec54..f7975ca76a 100644 --- a/Tusker/Screens/Main/MainSplitViewController.swift +++ b/Tusker/Screens/Main/MainSplitViewController.swift @@ -188,28 +188,28 @@ class MainSplitViewController: UISplitViewController { } @objc func handleSidebarCommandTimelines() { - sidebar.select(item: .tab(.timelines), animated: false) select(newItem: .tab(.timelines), oldItem: sidebar.selectedItem) + sidebar.select(item: .tab(.timelines), animated: false) } @objc func handleSidebarCommandNotifications() { - sidebar.select(item: .tab(.notifications), animated: false) select(newItem: .tab(.notifications), oldItem: sidebar.selectedItem) + sidebar.select(item: .tab(.notifications), animated: false) } @objc func handleSidebarCommandExplore() { - sidebar.select(item: .tab(.explore), animated: false) select(newItem: .tab(.explore), oldItem: sidebar.selectedItem) + sidebar.select(item: .tab(.explore), animated: false) } @objc func handleSidebarCommandBookmarks() { - sidebar.select(item: .bookmarks, animated: false) select(newItem: .bookmarks, oldItem: sidebar.selectedItem) + sidebar.select(item: .bookmarks, animated: false) } @objc func handleSidebarCommandMyProfile() { - sidebar.select(item: .tab(.myProfile), animated: false) select(newItem: .tab(.myProfile), oldItem: sidebar.selectedItem) + sidebar.select(item: .tab(.myProfile), animated: false) } @objc private func sidebarTapped() {