From 2721760562e9628fc403d1d2d64ab50bff579393 Mon Sep 17 00:00:00 2001 From: Barijaona Ramaholimihaso Date: Sun, 3 Nov 2024 00:57:03 +0300 Subject: [PATCH] Remove unnecessary code --- Vienna/Sources/Main window/BrowserTab.swift | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Vienna/Sources/Main window/BrowserTab.swift b/Vienna/Sources/Main window/BrowserTab.swift index 419746ff9..352f9de77 100644 --- a/Vienna/Sources/Main window/BrowserTab.swift +++ b/Vienna/Sources/Main window/BrowserTab.swift @@ -230,17 +230,11 @@ extension BrowserTab: Tab { func back() -> Bool { let couldGoBack = self.webView.goBack() != nil - // title and url observation not triggered by goBack() -> manual setting - self.url = self.webView.url - updateTabTitle() return couldGoBack } func forward() -> Bool { let couldGoForward = self.webView.goForward() != nil - // title observation not triggered by goForware() -> manual setting - self.url = self.webView.url - updateTabTitle() return couldGoForward }