diff --git a/src/androidTest/java/com/nutomic/syncthingandroid/test/syncthing/RestApiTest.java b/src/androidTest/java/com/nutomic/syncthingandroid/test/syncthing/RestApiTest.java
index f0cc51dd..d39a47d9 100644
--- a/src/androidTest/java/com/nutomic/syncthingandroid/test/syncthing/RestApiTest.java
+++ b/src/androidTest/java/com/nutomic/syncthingandroid/test/syncthing/RestApiTest.java
@@ -93,14 +93,14 @@ public class RestApiTest extends AndroidTestCase {
@SmallTest
public void testReadableFileSize() {
- assertEquals("1 MB", RestApi.readableFileSize(getContext(), 1048576));
- assertEquals("1 GB", RestApi.readableFileSize(getContext(), 1073741824));
+ assertEquals("1 MiB", RestApi.readableFileSize(getContext(), 1048576));
+ assertEquals("1 GiB", RestApi.readableFileSize(getContext(), 1073741824));
}
@SmallTest
public void testGetReadableTransferRate() {
- assertEquals("1 Mb/s", RestApi.readableTransferRate(getContext(), 1048576));
- assertEquals("1 Gb/s", RestApi.readableTransferRate(getContext(), 1073741824));
+ assertEquals("1 Mib/s", RestApi.readableTransferRate(getContext(), 1048576));
+ assertEquals("1 Gib/s", RestApi.readableTransferRate(getContext(), 1073741824));
}
@MediumTest
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index 68d38b2b..aa50a972 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -321,19 +321,19 @@ Please report any problems you encounter via Github.
- B
- - KB
- - MB
- - GB
- - TB
+ - KiB
+ - MiB
+ - GiB
+ - TiB
- b/s
- - Kb/s
- - Mb/s
- - Gb/s
- - Tb/s
+ - Kib/s
+ - Mib/s
+ - Gib/s
+ - Tib/s