Skip to content

Commit

Permalink
Merge pull request ResearchKit#136 from EricSiegNW/bug/FPHS-673
Browse files Browse the repository at this point in the history
FPHS 673
  • Loading branch information
syoung-smallwisdom committed Aug 8, 2016
2 parents 74a41e1 + 7fd0458 commit 79427b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions APCAppCore/APCAppCore/Consent/APCConsentTask.m
Expand Up @@ -202,6 +202,7 @@ - (NSArray*)commonInitWithPropertiesFileName:(NSString*)fileName customSteps:(NS
inDocument:_consentDocument];

reviewStep.reasonForConsent = reason;
reviewStep.title = NSLocalizedStringWithDefaultValue(@"Name", @"APCAppCore", APCBundle(), @"Name", nil); // Title of page where it asks for first and last name

NSMutableArray* consentSteps = [[NSMutableArray alloc] init];
[consentSteps addObject:_visualStep];
Expand Down
Expand Up @@ -116,6 +116,9 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N

APCCheckTableViewCell *cell = (APCCheckTableViewCell *)[tableView dequeueReusableCellWithIdentifier:kAPCCheckTableViewCellIdentifier];

cell.textLabel.minimumScaleFactor = 0.5f;
cell.textLabel.adjustsFontSizeToFitWidth = YES; // no ellipses

cell.textLabel.text = optionItem.caption;
cell.confirmationView.completed = optionItem.on;

Expand Down

0 comments on commit 79427b7

Please sign in to comment.