From 49f6998081d61dc89420d59bade6aaa3e3ae779e Mon Sep 17 00:00:00 2001 From: cramakri <cramakri> Date: Mon, 3 Dec 2012 13:05:33 +0000 Subject: [PATCH] BIS-159 SP-395 : Use the label key for the label when showing properties SVN: 27829 --- openbis-ipad/openBIS/openBIS/CISDOBDetailViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbis-ipad/openBIS/openBIS/CISDOBDetailViewController.m b/openbis-ipad/openBIS/openBIS/CISDOBDetailViewController.m index 77231ccd949..e34e36e2279 100644 --- a/openbis-ipad/openBIS/openBIS/CISDOBDetailViewController.m +++ b/openbis-ipad/openBIS/openBIS/CISDOBDetailViewController.m @@ -203,7 +203,7 @@ - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { NSDictionary *properties = [self propertiesAtIndexPath: indexPath]; - NSString *label = [properties valueForKey: @"key"]; + NSString *label = [properties valueForKey: @"label"]; NSString *value = [properties valueForKey: @"value"]; // Font and size obtained from the storyboard @@ -245,7 +245,7 @@ if (!self.detailItem) return; NSDictionary *properties; properties = [self propertiesAtIndexPath: indexPath]; - cell.textLabel.text = [properties valueForKey: @"key"]; + cell.textLabel.text = [properties valueForKey: @"label"]; cell.detailTextLabel.text = [properties valueForKey: @"value"]; } -- GitLab