Revision c91b5b28 Classes/RootViewController.m
b/Classes/RootViewController.m | ||
---|---|---|
54 | 54 |
// Since most people will just have one account this is preferred. |
55 | 55 |
[self presentAccountHomeViewControllerForAccount:[[OpenStackAccount accounts] objectAtIndex:0] animated:NO]; |
56 | 56 |
AccountHomeViewController *ahvc = [[self.navigationController viewControllers] lastObject]; |
57 |
ahvc.navigationItem.title = ahvc.account.username;
|
|
57 |
ahvc.navigationItem.title = [ahvc.account displaynameForUUID:ahvc.account.username safe:YES];
|
|
58 | 58 |
[ahvc presentContainersViewControllerShared:NO Animated:NO]; |
59 | 59 |
} else { |
60 | 60 |
// If there are no accounts, go straight to the add account screen on launch. |
... | ... | |
100 | 100 |
|
101 | 101 |
// Configure the cell. |
102 | 102 |
OpenStackAccount *account = [[OpenStackAccount accounts] objectAtIndex:indexPath.row]; |
103 |
cell.textLabel.text = account.username;
|
|
103 |
cell.textLabel.text = [account displaynameForUUID:account.username safe:YES];
|
|
104 | 104 |
cell.detailTextLabel.text = account.provider.name; |
105 | 105 |
cell.imageView.image = [UIImage imageNamed:@"pithos-solo-smallest.png"]; |
106 | 106 |
|
Also available in: Unified diff