accessibility fix
This commit is contained in:
parent
94deaeff60
commit
7728afb122
@ -76,6 +76,15 @@
|
|||||||
return heroCenter
|
return heroCenter
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override func didSelectCell(at index: IndexPath, delegateObject: MVMCoreUIDelegateObject?, additionalData: [AnyHashable : Any]?) {
|
||||||
|
if listItemModel?.action != nil {
|
||||||
|
super.didSelectCell(at: index, delegateObject: delegateObject, additionalData: additionalData)
|
||||||
|
} else {
|
||||||
|
heart.tapAction()
|
||||||
|
updateAccessibilityLabel()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
open override class func estimatedHeight(with model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?) -> CGFloat? {
|
open override class func estimatedHeight(with model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?) -> CGFloat? {
|
||||||
return 120
|
return 120
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user