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
|
// create / set the moleculeViews
|
||||||
if (previousModel == nil) || Self.nameForReuse(with: previousModel!, delegateObject) != Self.nameForReuse(with: viewModel, delegateObject) {
|
if (previousModel == nil) || Self.nameForReuse(with: previousModel!, delegateObject) != Self.nameForReuse(with: viewModel, delegateObject) {
|
||||||
|
previousModel = viewModel
|
||||||
var buttonBases = [ButtonBase]()
|
var buttonBases = [ButtonBase]()
|
||||||
viewModel.buttons.forEach { buttonModel in
|
viewModel.buttons.forEach { buttonModel in
|
||||||
do {
|
do {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user