Skip to content

Commit

Permalink
Merge from milestone/12.0.4:
Browse files Browse the repository at this point in the history
- BookmarkViewController: add modern password manager integration to BookmarkViewController via input field content types
- SDK update: OCHTTPPipeline: move metrics logging to response logging block
  • Loading branch information
felix-schwarz committed Oct 6, 2023
1 parent 50a41f4 commit 10e0921
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ownCloud/Bookmarks/BookmarkViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -217,13 +217,15 @@ class BookmarkViewController: StaticTableViewController {
self?.composeSectionsAndRows(animated: true)
}
}, placeholder: "Username".localized, autocorrectionType: .no, identifier: "row-credentials-username", accessibilityLabel: "Server Username".localized)
usernameRow?.textField?.textContentType = .username

passwordRow = StaticTableViewRow(secureTextFieldWithAction: { [weak self] (_, sender, action) in
if (sender as? UITextField) != nil, self?.bookmark?.authenticationData != nil, action == .changed {
self?.bookmark?.authenticationData = nil
self?.composeSectionsAndRows(animated: true)
}
}, placeholder: "Password".localized, autocorrectionType: .no, identifier: "row-credentials-password", accessibilityLabel: "Server Password".localized)
passwordRow?.textField?.textContentType = .password

addPasswordManagerButton()

Expand Down

0 comments on commit 10e0921

Please sign in to comment.