small change
This commit is contained in:
parent
45b4b0d594
commit
3f69b19a05
@ -27,11 +27,13 @@ import UIKit
|
||||
/// Set to true to hide the blinking textField cursor.
|
||||
public var hideBlinkingCaret = false
|
||||
|
||||
/// Hides the custom drawn border.
|
||||
public var hideBorder = true
|
||||
|
||||
public var borderPath: UIBezierPath?
|
||||
private var borderPath: UIBezierPath?
|
||||
|
||||
public var errorShowing = false
|
||||
/// If true
|
||||
public var hasError = false
|
||||
|
||||
weak var bottomLine: SeparatorView?
|
||||
|
||||
@ -171,7 +173,7 @@ import UIKit
|
||||
|
||||
var strokeColor: UIColor?
|
||||
|
||||
if errorShowing {
|
||||
if hasError {
|
||||
strokeColor = .mvmOrangeAA
|
||||
bottomLine?.backgroundColor = .mvmOrangeAA
|
||||
} else {
|
||||
@ -233,7 +235,7 @@ extension TextView: MVMCoreViewProtocol {
|
||||
translatesAutoresizingMaskIntoConstraints = false
|
||||
insetsLayoutMarginsFromSafeArea = false
|
||||
clipsToBounds = true
|
||||
errorShowing = false
|
||||
hasError = false
|
||||
hideBorder = false
|
||||
layer.cornerRadius = CGFloat(CornerRadiusLarge)
|
||||
// Disable SmartQuotes
|
||||
|
||||
Loading…
Reference in New Issue
Block a user