Merge branch 'feature/parse' into 'develop'
small model fix for images See merge request BPHV_MIPS/mvm_core_ui!268
This commit is contained in:
commit
377b26e40d
@ -210,6 +210,9 @@ import UIKit
|
|||||||
}
|
}
|
||||||
|
|
||||||
public func setWithModel(_ model: MoleculeModelProtocol?, _ delegateObject: MVMCoreUIDelegateObject?, _ additionalData: [AnyHashable: Any]?) {
|
public func setWithModel(_ model: MoleculeModelProtocol?, _ delegateObject: MVMCoreUIDelegateObject?, _ additionalData: [AnyHashable: Any]?) {
|
||||||
|
self.delegateObject = delegateObject
|
||||||
|
// TODO: Temporary, should be moved to init once we have type erasure ready.
|
||||||
|
setAsMolecule()
|
||||||
guard let imageModel = model as? ImageViewModel else {
|
guard let imageModel = model as? ImageViewModel else {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user