Fix forwards butto not being disabled when going to a new page
This commit is contained in:
parent
2b06a826ae
commit
be2e087a9e
|
@ -105,7 +105,7 @@ class ToolbarView: UIView {
|
|||
stack.bottomAnchor.constraint(equalTo: safeAreaLayoutGuide.bottomAnchor),
|
||||
])
|
||||
|
||||
navigator.$currentURL
|
||||
navigator.navigationOperation
|
||||
.sink { (_) in
|
||||
self.backButton.isEnabled = navigator.backStack.count > 0
|
||||
self.forwardsButton.isEnabled = navigator.forwardStack.count > 0
|
||||
|
|
Loading…
Reference in New Issue