[ios] Show downloading progress percentage in full numbers only

Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
Yannik Bloscheck
2025-07-09 10:25:30 +02:00
parent 7a8f7929fc
commit 8a8ac5c660

View File

@@ -196,7 +196,7 @@ using namespace storage;
- (void)showDownloading:(CGFloat)progress {
self.nodeSize.textColor = [UIColor blackSecondaryText];
self.nodeSize.text =
[NSString stringWithFormat:@"%@ %.2f%%", L(@"downloader_downloading"), progress * 100.f];
[NSString stringWithFormat:@"%@ %.0f%%", L(@"downloader_downloading"), progress * 100.f];
self.downloadButton.hidden = YES;
self.progressWrapper.hidden = NO;
self.progress.progress = progress;