[old-map-downloader][ios] Fixed cancelled download size display.

This commit is contained in:
Ilya Grechuhin 2016-01-29 11:25:33 +03:00 committed by Sergey Yershov
parent a2fcb128d6
commit 40931ec474

View file

@ -114,7 +114,7 @@ extern NSString * const MapsStatusChangedNotification;
{
LocalAndRemoteSizeT const size = self.mapsLayout.GetRemoteCountrySizes(group, position);
cell.sizeLabel.text = [NSString stringWithFormat:@"%@ / %@", formattedSize(size.first), formattedSize(size.second)];
cell.sizeLabel.text = formattedSize(size.first);
}
else if (status == TStatus::EOnDisk || status == TStatus::EOnDiskOutOfDate)
cell.sizeLabel.text = formattedSize(self.mapsLayout.GetCountrySize(group, position, options).second);