review comment updated. setting the height from model if not exist then hard coded value
This commit is contained in:
parent
b8cefeb7e5
commit
0ecfef39cd
@ -182,7 +182,7 @@ open class Carousel: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
open override class func estimatedHeight(with model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?) -> CGFloat? {
|
open override class func estimatedHeight(with model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?) -> CGFloat? {
|
||||||
return 80
|
return (model as? CarouselModel)?.height ?? 80
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user