mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-14 06:43:06 +02:00
Codename: rename methods to FileUtils.getPath and FileUtils.getPathDisplayName
This commit is contained in:
@@ -171,7 +171,7 @@ public class ExportDialogFragment extends DialogFragment {
|
||||
*/
|
||||
private void setExternalStorageOption(RadioButton radioButton, TrackFileFormat trackFileFormat) {
|
||||
radioButton.setText(getString(R.string.export_external_storage_option, trackFileFormat.name(),
|
||||
FileUtils.getDirectoryDisplayName(trackFileFormat.getExtension())));
|
||||
FileUtils.getPathDisplayName(trackFileFormat.getExtension())));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -92,7 +92,7 @@ public class FileTypeDialogFragment extends DialogFragment {
|
||||
for (int i = 0; i < choices.length; i++) {
|
||||
TrackFileFormat trackFileFormat = trackFileFormats[i];
|
||||
choices[i] = getString(optionId, trackFileFormat.name(),
|
||||
FileUtils.getDirectoryDisplayName(trackFileFormat.getExtension()));
|
||||
FileUtils.getPathDisplayName(trackFileFormat.getExtension()));
|
||||
}
|
||||
return new AlertDialog.Builder(getActivity()).setNegativeButton(R.string.generic_cancel, null)
|
||||
.setPositiveButton(R.string.generic_ok, new OnClickListener() {
|
||||
|
||||
Reference in New Issue
Block a user