Skip to content

Commit

Permalink
Fix Xcode 14 compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
tagavari committed Sep 11, 2022
1 parent 4669b97 commit fc17a69
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion AirMessage/Controllers/AccountConnectViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@ class AccountConnectViewController: NSViewController {

private var server: HttpServer!

private var _currentAuthSession: Any? = nil
@available(macOS 10.15, *)
private lazy var currentAuthSession: ASWebAuthenticationSession? = nil
fileprivate var currentAuthSession: ASWebAuthenticationSession? {
get { _currentAuthSession as! ASWebAuthenticationSession? }
set { _currentAuthSession = newValue }
}

private var isConnecting = false
private var currentDataProxy: DataProxyConnect!
Expand Down

0 comments on commit fc17a69

Please sign in to comment.