From be2e087a9e92d2be22cd8ca60fd36ed0dc4908f5 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 20 Dec 2020 13:47:49 -0500 Subject: [PATCH] Fix forwards butto not being disabled when going to a new page --- Gemini-iOS/ToolbarView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemini-iOS/ToolbarView.swift b/Gemini-iOS/ToolbarView.swift index 17d688b..53f920b 100644 --- a/Gemini-iOS/ToolbarView.swift +++ b/Gemini-iOS/ToolbarView.swift @@ -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