Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-08-02 17:09:25 -05:00
parent f2b426df9a
commit b4f8d56024
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ class CheckboxViewController: UIViewController, StoryboardInitable {
}
@IBAction func showErrorChanged(_ sender: UISwitch) {
checkbox.disabled = sender.isOn
checkbox.showError = sender.isOn
}
@IBAction func onErrorTextDidEnd(_ sender: UITextField) {

View File

@ -14,7 +14,7 @@ class ToggleViewController: UIViewController, StoryboardInitable {
enum PickerType {
case surface, textSize, textPosition, fontWeight
}
static var storyboardId: String = "checkbox"
static var storyboardId: String = "toggle"
static var storyboardName: String = "Components"
@IBOutlet weak var toggleContainerView: UIView!