Adapt UI with respect to Dark Mode
This commit is contained in:
parent
35bac7260b
commit
414e31cba3
7 changed files with 24 additions and 25 deletions
|
|
@ -125,6 +125,9 @@ class PasswordEditorTableViewController: UITableViewController, FillPasswordTabl
|
|||
additionsCell = tableView.dequeueReusableCell(withIdentifier: "textViewCell", for: indexPath) as?TextViewTableViewCell
|
||||
additionsCell?.contentTextView.delegate = self
|
||||
additionsCell?.setContent(content: cellData[PasswordEditorCellKey.content] as? String)
|
||||
if #available(iOS 13.0, *) {
|
||||
additionsCell?.contentTextView.textColor = .label
|
||||
}
|
||||
return additionsCell!
|
||||
case .deletePasswordCell:
|
||||
return deletePasswordCell!
|
||||
|
|
|
|||
|
|
@ -20,5 +20,8 @@ class RawPasswordViewController: UIViewController {
|
|||
rawPasswordTextView.textContainer.lineFragmentPadding = 0
|
||||
rawPasswordTextView.textContainerInset = .zero
|
||||
rawPasswordTextView.text = password?.plainText
|
||||
if #available(iOS 13.0, *) {
|
||||
rawPasswordTextView.textColor = .label
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue