Merge branch 'bugfix/TableViewCell-line-type' into 'develop'
memory issue fix, updating the style only See merge request BPHV_MIPS/mvm_core_ui!877
This commit is contained in:
commit
7ce5b4eab9
@ -243,8 +243,8 @@ import UIKit
|
|||||||
open func setLines(with model: LineModel?, delegateObject: MVMCoreUIDelegateObject?, additionalData: [AnyHashable: Any]?, indexPath: IndexPath) {
|
open func setLines(with model: LineModel?, delegateObject: MVMCoreUIDelegateObject?, additionalData: [AnyHashable: Any]?, indexPath: IndexPath) {
|
||||||
addSeparatorsIfNeeded()
|
addSeparatorsIfNeeded()
|
||||||
if let model = model {
|
if let model = model {
|
||||||
topSeparatorView?.set(with: model, delegateObject, additionalData)
|
topSeparatorView?.setStyle(model.type)
|
||||||
bottomSeparatorView?.set(with: model, delegateObject, additionalData)
|
bottomSeparatorView?.setStyle(model.type)
|
||||||
} else {
|
} else {
|
||||||
topSeparatorView?.setStyle(.secondary)
|
topSeparatorView?.setStyle(.secondary)
|
||||||
bottomSeparatorView?.setStyle(.secondary)
|
bottomSeparatorView?.setStyle(.secondary)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user