Merge remote-tracking branch 'origin/develop' into feature/view_masking
This commit is contained in:
commit
6431e77122
@ -249,6 +249,10 @@ import UIKit
|
|||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
// MARK: - Methods
|
// MARK: - Methods
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
|
public override func showErrorView(_ show: Bool) {
|
||||||
|
//do nothing since you should show the error view
|
||||||
|
//within a digitEntryField
|
||||||
|
}
|
||||||
|
|
||||||
@objc public func setAsSecureTextEntry(_ secureEntry: Bool) {
|
@objc public func setAsSecureTextEntry(_ secureEntry: Bool) {
|
||||||
|
|
||||||
|
|||||||
@ -84,7 +84,7 @@ import UIKit
|
|||||||
textField.accessibilityValue = nil
|
textField.accessibilityValue = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
if textField.isSecureTextEntry {
|
if !textField.isSecureTextEntry {
|
||||||
showErrorView(error)
|
showErrorView(error)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -294,8 +294,7 @@ import UIKit
|
|||||||
resignFirstResponder()
|
resignFirstResponder()
|
||||||
}
|
}
|
||||||
|
|
||||||
private func showErrorView(_ show: Bool) {
|
open func showErrorView(_ show: Bool) {
|
||||||
|
|
||||||
if show {
|
if show {
|
||||||
entryFieldContainer.addSubview(errorImage)
|
entryFieldContainer.addSubview(errorImage)
|
||||||
|
|
||||||
|
|||||||
@ -208,7 +208,7 @@ open class SubNavManagerController: ViewController, MVMCoreViewManagerProtocol,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Handles when the controller has committed to be changed.
|
/// Handles when the controller has committed to be changed.
|
||||||
private func commitTo(controller: UIViewController) {
|
open func commitTo(controller: UIViewController) {
|
||||||
guard let index = index,
|
guard let index = index,
|
||||||
index != tabs.selectedIndex else { return }
|
index != tabs.selectedIndex else { return }
|
||||||
viewController = controller
|
viewController = controller
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user