mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 10:32:26 +00:00
Using true immutable copies of for nsarray
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
MPIconType iconType = (MPIconType)[iconNumber integerValue];
|
||||
[mutableIcons addObject:[MPIconHelper icon:iconType]];
|
||||
}
|
||||
icons = mutableIcons;
|
||||
icons = [mutableIcons copy];
|
||||
});
|
||||
return icons;
|
||||
}
|
||||
@@ -64,7 +64,7 @@
|
||||
}
|
||||
[mutableIcons addObject:iconNumber];
|
||||
}
|
||||
iconTypes = mutableIcons;
|
||||
iconTypes = [mutableIcons copy];
|
||||
});
|
||||
return iconTypes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user