CR: return immutable array

This commit is contained in:
Michael Kirk 2019-03-11 09:47:49 -07:00
parent bf4b9fa704
commit e2fd2c9173
1 changed files with 2 additions and 2 deletions

View File

@ -480,10 +480,10 @@ typedef NS_ENUM(NSInteger, HomeViewControllerSection) {
if ([localNumber isEqual:account.recipientId]) {
continue;
}
[accounts addObject:account];
if (accounts.count >= 3) {
return accounts;
break;
}
[accounts addObject:account];
}
return [accounts copy];