Removed decimals after comma

This commit is contained in:
Eduard Urbach 2018-04-17 01:48:16 +02:00
parent c146e2a7e3
commit 1daceaee7f

View File

@ -68,7 +68,7 @@ function uploadFile(file: File, fileType: string, endpoint: string, arn: AnimeNo
}
}
arn.statusMessage.showInfo(`Uploading ${fileType}...${fileSize.toFixed(1)} ${unit}`, -1)
arn.statusMessage.showInfo(`Uploading ${fileType}...${fileSize.toFixed(0)} ${unit}`, -1)
try {
let responseText = await fetchWithProgress(endpoint, {