Fix strings typo
This commit is contained in:
parent
abb9e7648c
commit
41b0baa36e
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue