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.
300
1 parent 6e588d4 commit e9159f8Copy full SHA for e9159f8
MVVMReactiveCocoa/ViewModel/MRCNewsViewModel.m
@@ -131,7 +131,8 @@ - (id)fetchLocalData {
131
132
if (self.isCurrentUser) {
133
if (self.type == MRCNewsViewModelTypeNews) {
134
- events = [OCTEvent mrc_fetchUserReceivedEvents];
+ // Takes `300` items from local cache
135
+ events = [[OCTEvent mrc_fetchUserReceivedEvents].rac_sequence take:300].array;
136
} else if (self.type == MRCNewsViewModelTypePublicActivity) {
137
events = [OCTEvent mrc_fetchUserPerformedEvents];
138
}
0 commit comments