Skip to content

Commit 6771275

Browse files
committed
Properly handle links to the reader root
1 parent 14a7b5b commit 6771275

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

WordPress/Classes/ViewRelated/System/WPTabBarController+Swift.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ extension WPTabBarController {
4040
showReaderTab()
4141
if let path {
4242
self.readerPresenter?.navigate(to: path)
43+
} else { // navigate back to the reader root
44+
self.readerPresenter?.navigate(to: .discover)
4345
}
4446
}
4547

0 commit comments

Comments
 (0)