From 4330aee7bc64ef618c56286d692baea4432bc99e Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Mon, 15 Dec 2014 17:02:50 +0100 Subject: [PATCH] Clear tester status cell when no status is available --- LinphoneTester/DetailViewController.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/LinphoneTester/DetailViewController.m b/LinphoneTester/DetailViewController.m index 4dbbfa71d..fb56a8dd7 100644 --- a/LinphoneTester/DetailViewController.m +++ b/LinphoneTester/DetailViewController.m @@ -119,7 +119,9 @@ static NSString* const kAllTestsName = @"Run All tests"; if(image){ image = [[NSBundle mainBundle] pathForResource:image ofType:@"png"]; cell.imageView.image = [UIImage imageWithContentsOfFile:image]; - } + } else { + [cell.imageView setImage:nil]; + } return cell; }