We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2fad2b2 + 77adb22 commit 3d7e52cCopy full SHA for 3d7e52c
1 file changed
sources/HUBViewModelRenderer.m
@@ -68,6 +68,7 @@ - (void)renderViewModel:(id<HUBViewModel>)viewModel
68
[collectionView setNeedsLayout];
69
[collectionView layoutIfNeeded];
70
}
71
+ self.lastRenderedViewModel = viewModel;
72
completionBlock();
73
} else {
74
void (^updateBlock)() = ^{
@@ -82,6 +83,7 @@ - (void)renderViewModel:(id<HUBViewModel>)viewModel
82
83
addHeaderMargin:addHeaderMargin];
84
85
} completion:^(BOOL finished) {
86
87
88
}];
89
};
@@ -92,8 +94,6 @@ - (void)renderViewModel:(id<HUBViewModel>)viewModel
92
94
[UIView performWithoutAnimation:updateBlock];
93
95
96
-
- self.lastRenderedViewModel = viewModel;
97
98
99
@end
0 commit comments