forked from organicmaps/organicmaps
[iOS] Fixed downloading progress
This commit is contained in:
parent
f572b2fa79
commit
626f268ac2
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ using namespace storage;
|
|||
- (void)showDownloading:(CGFloat)progress {
|
||||
self.nodeSize.textColor = [UIColor blackSecondaryText];
|
||||
self.nodeSize.text =
|
||||
[NSString stringWithFormat:@"%@ %@%%", L(@"downloader_downloading"), @((NSInteger)progress * 100)];
|
||||
[NSString stringWithFormat:@"%@ %@%%", L(@"downloader_downloading"), @((NSInteger)(progress * 100.f))];
|
||||
self.downloadButton.hidden = YES;
|
||||
self.progressWrapper.hidden = NO;
|
||||
self.progress.progress = progress;
|
||||
|
|
Loading…
Add table
Reference in a new issue