iOS: fix crash when flowlayout in wrong state
This commit is contained in:
parent
f1e3ef5e6b
commit
7ed8947671
@ -377,8 +377,11 @@ - (NSDictionary *)itemModelAt:(NSUInteger)position {
|
||||
NSUInteger pos = position + idx;
|
||||
self.itemViewIds[@(pos)] = thisViewId;
|
||||
}];
|
||||
if (array.count > 0 ) {
|
||||
return array[0];
|
||||
}
|
||||
return nil;
|
||||
}
|
||||
}
|
||||
|
||||
- (DoricViewNode *)subNodeWithViewId:(NSString *)viewId {
|
||||
|
Reference in New Issue
Block a user