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,7 +76,9 @@
}
public override func didSelectCell(at index: IndexPath, delegateObject: MVMCoreUIDelegateObject?, additionalData: [AnyHashable: Any]?) {
checkbox.isSelected.toggle()
if checkbox.isEnabled {
checkbox.isSelected.toggle()
}
}
//----------------------------------------------------