Introduce color provider to encapsulate check for iOS 13 availability
This commit is contained in:
parent
e0c32003e3
commit
51c9510f3d
12 changed files with 80 additions and 41 deletions
|
|
@ -20,8 +20,6 @@ class RawPasswordViewController: UIViewController {
|
|||
rawPasswordTextView.textContainer.lineFragmentPadding = 0
|
||||
rawPasswordTextView.textContainerInset = .zero
|
||||
rawPasswordTextView.text = password?.plainText
|
||||
if #available(iOS 13.0, *) {
|
||||
rawPasswordTextView.textColor = .label
|
||||
}
|
||||
rawPasswordTextView.textColor = Colors.label
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue