mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
if #available mac
Removes if #available for anything less than macOS 11
This commit is contained in:
@@ -197,10 +197,8 @@ class AccountsReaderAPIWindowController: NSWindowController {
|
||||
|
||||
// MARK: Autofill
|
||||
func enableAutofill() {
|
||||
if #available(macOS 11, *) {
|
||||
usernameTextField.contentType = .username
|
||||
passwordTextField.contentType = .password
|
||||
}
|
||||
usernameTextField.contentType = .username
|
||||
passwordTextField.contentType = .password
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user