Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
krzd committed Aug 16, 2013
1 parent a98d8eb commit e933953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ShnergleApp/ShareViewController.m
Expand Up @@ -106,7 +106,7 @@ - (void)shareOnFacebook {
action[@"source"] = self.image.image;
NSMutableString *friends = [NSMutableString stringWithString:@""];
if ([selectedFriends count] > 0) {
[friends appendFormat:@" with %@", selectedFriends[0]];
[friends appendFormat:@" with %@", selectedFriends[0][@"name"]];
for (int i = 1; i < [selectedFriends count] - 1; i++) {
[friends appendFormat:@", %@", selectedFriends[i][@"name"]];
}
Expand Down

0 comments on commit e933953

Please sign in to comment.