| Index: remoting/ios/app/host_collection_view_cell.mm
|
| diff --git a/remoting/ios/app/host_collection_view_cell.mm b/remoting/ios/app/host_collection_view_cell.mm
|
| index 0f3e23b1bc036b6eec53356fab4d586abd52f711..7cbab271f1fc4d15a94d2be509ae164e845e71c1 100644
|
| --- a/remoting/ios/app/host_collection_view_cell.mm
|
| +++ b/remoting/ios/app/host_collection_view_cell.mm
|
| @@ -102,7 +102,6 @@ static const CGFloat kHostCardIconSize = 45.f;
|
| _hostInfo = hostInfo;
|
|
|
| _titleLabel.text = _hostInfo.hostName;
|
| - _statusLabel.text = _hostInfo.status;
|
|
|
| _imageView.image = [UIImage imageNamed:@"ic_desktop"];
|
|
|
| @@ -110,8 +109,11 @@ static const CGFloat kHostCardIconSize = 45.f;
|
| // Need to update to the values in the mocks.
|
| if ([_hostInfo.status isEqualToString:@"ONLINE"]) {
|
| _imageView.backgroundColor = UIColor.greenColor;
|
| + _statusLabel.text = @"Online";
|
| } else {
|
| _imageView.backgroundColor = UIColor.lightGrayColor;
|
| + _statusLabel.text =
|
| + [NSString stringWithFormat:@"Last online: %@", hostInfo.updatedTime];
|
| }
|
| }
|
|
|
|
|