diff --git a/Mythic.xcodeproj/project.pbxproj b/Mythic.xcodeproj/project.pbxproj index b4d04997..6ae89cab 100644 --- a/Mythic.xcodeproj/project.pbxproj +++ b/Mythic.xcodeproj/project.pbxproj @@ -789,7 +789,7 @@ "CODE_SIGN_IDENTITY[sdk=macosx*]" = "-"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 3143; + CURRENT_PROJECT_VERSION = 3144; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_ASSET_PATHS = "\"Mythic/Preview Content\""; @@ -836,7 +836,7 @@ "CODE_SIGN_IDENTITY[sdk=macosx*]" = "-"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 3143; + CURRENT_PROJECT_VERSION = 3144; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_ASSET_PATHS = "\"Mythic/Preview Content\""; diff --git a/Mythic/AppDelegate.swift b/Mythic/AppDelegate.swift index 3cd01ea6..efb31be2 100644 --- a/Mythic/AppDelegate.swift +++ b/Mythic/AppDelegate.swift @@ -349,7 +349,7 @@ class AppDelegate: NSObject, NSApplicationDelegate { // https://arc.net/l/quote/ extension AppDelegate: UNUserNotificationCenterDelegate {} -extension AppDelegate: SPUUpdaterDelegate {} +extension AppDelegate: SPUUpdaterDelegate {} // FIXME: nonfunctional extension AppDelegate: SwordRPCDelegate { func swordRPCDidConnect(_ rpc: SwordRPC) { diff --git a/Mythic/Views/Unified/Windows/EpicWebAuthView.swift b/Mythic/Views/Unified/Windows/EpicWebAuthView.swift index 40209225..229a8325 100644 --- a/Mythic/Views/Unified/Windows/EpicWebAuthView.swift +++ b/Mythic/Views/Unified/Windows/EpicWebAuthView.swift @@ -103,7 +103,7 @@ fileprivate struct EpicInterceptorWebView: NSViewRepresentable { class Coordinator: NSObject, WKNavigationDelegate { var parent: EpicInterceptorWebView - @State private var isLoading: Bool = false // Local state for loading + @State private var isLoading: Bool = false init(parent: EpicInterceptorWebView) { self.parent = parent @@ -142,7 +142,10 @@ fileprivate struct EpicInterceptorWebView: NSViewRepresentable { } func makeNSView(context: Context) -> WKWebView { - let webView = WKWebView() + let config = WKWebViewConfiguration() + config.websiteDataStore = .nonPersistent() // don't persist user data + + let webView = WKWebView(frame: .zero, configuration: config) webView.navigationDelegate = context.coordinator return webView }