summaryrefslogtreecommitdiff
path: root/src/de
diff options
context:
space:
mode:
authorMatthias Schütz <mschuetz@gmail.com>2014-05-07 09:09:15 +0200
committerMatthias Schütz <mschuetz@gmail.com>2014-05-07 09:09:15 +0200
commitbea0876a9996bfc0c0459b97c1137a567fc063a4 (patch)
treed0c87f1b935d942e1fcb9ed08460d59056b0245b /src/de
parentae849077c78770f096f40e9360250b9e32d14f40 (diff)
downloadAntennaPod-bea0876a9996bfc0c0459b97c1137a567fc063a4.zip
NUM_LENGTH should be 1024 for accurate download progess display
unless NUM_LENGTH is 1024, the displayed size is 0KB or 0MB etc. for growing ranges below the respective boundary i.e. 1000-1023, 1024000-1048575
Diffstat (limited to 'src/de')
-rw-r--r--src/de/danoeh/antennapod/util/Converter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/danoeh/antennapod/util/Converter.java b/src/de/danoeh/antennapod/util/Converter.java
index 6ef47af31..46a0d30b4 100644
--- a/src/de/danoeh/antennapod/util/Converter.java
+++ b/src/de/danoeh/antennapod/util/Converter.java
@@ -21,7 +21,7 @@ public final class Converter {
/** Indicates that the value is in the Gigabyte range.*/
private static final int GB_RANGE = 3;
/** Determines the length of the number for best readability.*/
- private static final int NUM_LENGTH = 1000;
+ private static final int NUM_LENGTH = 1024;
private static final int HOURS_MIL = 3600000;