Adapt UI with respect to Dark Mode

This commit is contained in:
Danny Moesch 2019-09-22 16:16:51 +02:00 committed by Mingshen Sun
parent 35bac7260b
commit 414e31cba3
7 changed files with 24 additions and 25 deletions

View file

@ -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
}
}
}