mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
if file size is less than 10 KB, show one decimal place
This commit is contained in:
@@ -189,7 +189,7 @@
|
||||
{
|
||||
convertedSize = size / baseFloat;
|
||||
unit = NSLocalizedString(@"KB", "File size - kilobytes");
|
||||
decimals = 0;
|
||||
decimals = convertedSize >= 10.0 ? 0 : 1;
|
||||
}
|
||||
else if (size < pow(baseInt, 3))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user