Rename method
This commit is contained in:
parent
563074aacd
commit
1ee989c3be
2 changed files with 2 additions and 2 deletions
|
@ -458,7 +458,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin {
|
|||
|
||||
}
|
||||
|
||||
public String getNewSmallDescription(Context ctx) {
|
||||
public String getExtendedDescription(Context ctx) {
|
||||
DateFormat dateFormat = android.text.format.DateFormat.getMediumDateFormat(ctx);
|
||||
String date = dateFormat.format(file.lastModified());
|
||||
int size = (int) ((file.length() + 512) >> 10);
|
||||
|
|
|
@ -195,7 +195,7 @@ public class NotesAdapter extends ArrayAdapter<Object> {
|
|||
holder.description.setText(R.string.av_locations_descr);
|
||||
} else {
|
||||
holder.title.setText(recording.getName(app, true));
|
||||
holder.description.setText(recording.getNewSmallDescription(app));
|
||||
holder.description.setText(recording.getExtendedDescription(app));
|
||||
int iconRes = recording.isAudio() ? R.drawable.ic_type_audio
|
||||
: (recording.isVideo() ? R.drawable.ic_type_video : R.drawable.ic_type_img);
|
||||
int colorRes = app.getSettings().isLightContent() ? R.color.icon_color : R.color.ctx_menu_info_text_dark;
|
||||
|
|
Loading…
Reference in a new issue