[iPhone] Changed countries colors in downloader

Closed #162
This commit is contained in:
Alex Zolotarev 2011-03-28 02:22:07 +01:00 committed by Alex Zolotarev
parent f91ba374d7
commit 5f7c415742

View file

@ -160,14 +160,20 @@ static bool IsOurIndex(TIndex const & theirs, TIndex const & ours)
size = (size + 999) / 1000;
}
cell.textLabel.textColor = [UIColor greenColor];
cell.textLabel.textColor = [UIColor colorWithRed:0.f/255.f
green:161.f/255.f
blue:68.f/255.f
alpha:1.f];
cell.detailTextLabel.text = [NSString stringWithFormat: @"Downloaded (%qu %s), touch to delete", size, kBorMBorGB];
cell.accessoryView = nil;
}
break;
case EDownloading:
{
cell.textLabel.textColor = [UIColor blueColor];
cell.textLabel.textColor = [UIColor colorWithRed:52.f/255.f
green:43.f/255.f
blue:182.f/255.f
alpha:1.f];
cell.detailTextLabel.text = @"Downloading...";
if (!indicator)
{
@ -186,7 +192,10 @@ static bool IsOurIndex(TIndex const & theirs, TIndex const & ours)
break;
case EInQueue:
{
cell.textLabel.textColor = [UIColor lightGrayColor];
cell.textLabel.textColor = [UIColor colorWithRed:91.f/255.f
green:148.f/255.f
blue:222.f/255.f
alpha:1.f];
cell.detailTextLabel.text = [NSString stringWithFormat: @"Marked for downloading, touch to cancel"];
}
break;