commit 9a034ea75b8f270165648446930125915d20d0c5 parent 5524d78a73f3d8ea317c739a24304f9cc480714b Author: FIGBERT <figbert@figbert.com> Date: Sat, 10 Sep 2022 23:43:00 -0700 Get rid of excess indentation Diffstat:
M | Shared/BrowserFunctions.swift | | | 20 | ++++++++++---------- |
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/Shared/BrowserFunctions.swift b/Shared/BrowserFunctions.swift @@ -38,16 +38,16 @@ extension BrowserData { extension BrowserData { func openURL(_ url: URL) async { - var uuid = UUID() - let response = try! await self.engine.request(url) - if self.tabs.count == 1 { - uuid = self.tabs.keys.first! - } - self.tabs[uuid] = response - self.currentTab = uuid - self.history[url] = Date.now - self.currentView = .Capsule - self.url = url.absoluteString + var uuid = UUID() + let response = try! await self.engine.request(url) + if self.tabs.count == 1 { + uuid = self.tabs.keys.first! + } + self.tabs[uuid] = response + self.currentTab = uuid + self.history[url] = Date.now + self.currentView = .Capsule + self.url = url.absoluteString } }