added previousModel
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
fbcf881535
commit
59175c45fc
@ -47,6 +47,7 @@ import VDS
|
||||
|
||||
// create / set the moleculeViews
|
||||
if (previousModel == nil) || Self.nameForReuse(with: previousModel!, delegateObject) != Self.nameForReuse(with: viewModel, delegateObject) {
|
||||
previousModel = viewModel
|
||||
var buttonBases = [ButtonBase]()
|
||||
viewModel.buttons.forEach { buttonModel in
|
||||
do {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user