invoking check box toggle state, only when the check box is enabled.

This commit is contained in:
Sumanth Nadigadda 2022-07-05 14:27:48 +05:30
parent 6ac8fb9f1d
commit 35763a8e61

View File

@ -76,8 +76,10 @@
} }
public override func didSelectCell(at index: IndexPath, delegateObject: MVMCoreUIDelegateObject?, additionalData: [AnyHashable: Any]?) { public override func didSelectCell(at index: IndexPath, delegateObject: MVMCoreUIDelegateObject?, additionalData: [AnyHashable: Any]?) {
if checkbox.isEnabled {
checkbox.isSelected.toggle() checkbox.isSelected.toggle()
} }
}
//---------------------------------------------------- //----------------------------------------------------
// MARK: - Accessibility // MARK: - Accessibility