Converted timestamps to the "minutes" format using Converter.getDurationStringLocalized

Please enter the commit message for your changes. Lines starting
This commit is contained in:
Tadeas Toth 2020-10-01 12:33:11 +02:00 committed by Tadeas Toth
parent e9fa84af58
commit 5cf5057796
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public class ChaptersListAdapter extends RecyclerView.Adapter<ChaptersListAdapte
duration = media.getDuration() - sc.getStart();
}
holder.duration.setText(context.getString(R.string.chapter_duration,
Converter.getDurationStringLong((int) duration)));
Converter.getDurationStringLocalized(context, (int) duration)));
if (sc.getLink() == null) {
holder.link.setVisibility(View.GONE);