Skip to content

Commit

Permalink
Merge pull request #151 from birarda/18682
Browse files Browse the repository at this point in the history
Code Review for Job #18682
looks good.
  • Loading branch information
andrewhammond committed Nov 16, 2012
2 parents b7f435d + 42607ce commit d994d87
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions candpiosapp/User/UserProfileViewController.m
Expand Up @@ -192,7 +192,9 @@ - (void)setUser:(CPUser *)newUser
if (!error) {
// fill out the resume and unlock the scrollView
NSLog(@"Received resume response.");

self.scrollView.scrollEnabled = YES;

[self placeUserDataOnProfile];
} else {
// error checking for load of user
Expand Down Expand Up @@ -347,6 +349,10 @@ - (void)placeUserDataOnProfile
self.resumeEarned.text = [NSString stringWithFormat:@"%d", self.user.totalHours];
self.loveReceived.text = [self.user.reviews objectForKey:@"love_received"];

if ([self.user.isContact boolValue]) {
self.userActionCell.rightStyle = CPUserActionCellSwipeStyleReducedAction;
}

dispatch_queue_t q_profile = dispatch_queue_create("com.candp.profile", NULL);
dispatch_async(q_profile, ^{
// load html into the bottom of the resume view for all the user data
Expand Down

0 comments on commit d994d87

Please sign in to comment.