Import header, storage path replace in UI display
This commit is contained in:
parent
ae858ede93
commit
78175e8a1c
3 changed files with 7 additions and 4 deletions
|
@ -699,8 +699,8 @@ public class MGRSPoint extends ZonedUTMPoint {
|
|||
String zero = "";
|
||||
}
|
||||
|
||||
all.add(String.format(java.util.Locale.US,"%0" + accuracy + "d", roundedEasting));
|
||||
all.add(String.format(java.util.Locale.US,"%0" + accuracy + "d", roundedNorthing));
|
||||
all.add(String.format(Locale.US,"%0" + accuracy + "d", roundedEasting));
|
||||
all.add(String.format(Locale.US,"%0" + accuracy + "d", roundedNorthing));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,6 +46,7 @@ import java.util.ArrayList;
|
|||
import static net.osmand.plus.settings.datastorage.DataStorageHelper.INTERNAL_STORAGE;
|
||||
import static net.osmand.plus.settings.datastorage.DataStorageHelper.MANUALLY_SPECIFIED;
|
||||
import static net.osmand.plus.settings.datastorage.DataStorageHelper.OTHER_MEMORY;
|
||||
import static net.osmand.plus.settings.datastorage.DataStorageHelper.SHARED_STORAGE;
|
||||
import static net.osmand.plus.settings.datastorage.DataStorageHelper.TILES_MEMORY;
|
||||
import static net.osmand.plus.settings.bottomsheets.ChangeDataStorageBottomSheet.CHOSEN_DIRECTORY;
|
||||
import static net.osmand.plus.settings.bottomsheets.ChangeDataStorageBottomSheet.MOVE_DATA;
|
||||
|
@ -249,6 +250,8 @@ public class DataStorageFragment extends BaseSettingsFragment implements DataSto
|
|||
}
|
||||
if (currentKey.equals(INTERNAL_STORAGE)) {
|
||||
tvAdditionalDescription.setText(item.getDescription());
|
||||
} else if(currentKey.equals(SHARED_STORAGE)){
|
||||
tvAdditionalDescription.setText(String.format("\u200E%s", item.getDirectory()));
|
||||
} else {
|
||||
tvAdditionalDescription.setText(item.getDirectory());
|
||||
}
|
||||
|
|
|
@ -106,7 +106,7 @@ public class DataStorageHelper {
|
|||
|
||||
//shared storage
|
||||
dir = settings.getDefaultInternalStorage();
|
||||
path = "\u200e" + dir.getAbsolutePath();
|
||||
path = dir.getAbsolutePath();
|
||||
iconId = R.drawable.ic_action_phone;
|
||||
|
||||
StorageItem sharedStorageItem = StorageItem.builder()
|
||||
|
|
Loading…
Reference in a new issue