From f8c467862614ceb08cb36966e67aeed831eae368 Mon Sep 17 00:00:00 2001 From: Denis Svara Date: Mon, 4 Mar 2024 13:28:25 +0100 Subject: [PATCH] Omit explicit value type for `appInBackground`. Co-authored-by: Joe Masilotti --- Source/Turbo Navigator/TurboNavigator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Turbo Navigator/TurboNavigator.swift b/Source/Turbo Navigator/TurboNavigator.swift index ceae616..0bbfd95 100644 --- a/Source/Turbo Navigator/TurboNavigator.swift +++ b/Source/Turbo Navigator/TurboNavigator.swift @@ -123,7 +123,7 @@ public class TurboNavigator { /// A default delegate implementation if none is provided. private let navigatorDelegate = DefaultTurboNavigatorDelegate() private var backgroundTerminatedWebViewSessions = [Session]() - private var appInBackground: Bool = false + private var appInBackground = false private func controller(for proposal: VisitProposal) -> UIViewController? { switch delegate.handle(proposal: proposal) {