Fix strings typo

This commit is contained in:
Alexey Kulish 2015-11-30 15:47:41 +03:00
parent abb9e7648c
commit 41b0baa36e
2 changed files with 2 additions and 2 deletions

View file

@ -189,7 +189,7 @@ public class ItemViewHolder {
double mb = indexItem.getArchiveSizeMB();
String v ;
if (progress != -1) {
v = context.getString(R.string.value_downloaded_from_max, mb * progress / 100, mb);
v = context.getString(R.string.value_downloaded_of_max, mb * progress / 100, mb);
} else {
v = context.getString(R.string.file_size_in_mb, mb);
}

View file

@ -262,7 +262,7 @@ public class MapDataMenuController extends MenuController {
double mb = indexItem.getArchiveSizeMB();
String v ;
if (titleProgressController.progress != -1) {
v = getMapActivity().getString(R.string.value_downloaded_from_max, mb * titleProgressController.progress / 100, mb);
v = getMapActivity().getString(R.string.value_downloaded_of_max, mb * titleProgressController.progress / 100, mb);
} else {
v = getMapActivity().getString(R.string.file_size_in_mb, mb);
}