fix: cache file time
This commit is contained in:
parent
43ead61b47
commit
6a83dddcfb
@ -748,7 +748,7 @@ public class CachedMediaLayout extends FrameLayout implements NestedSizeNotifier
|
||||
boolean animated = file == holder.itemView.getTag();
|
||||
boolean divider = position != itemInners.size() - 1;
|
||||
holder.itemView.setTag(file);
|
||||
long date = file.file.lastModified();
|
||||
long date = file.file.lastModified() / 1000;
|
||||
|
||||
cell.setTextAndValueAndTypeAndThumb(file.messageType == MessageObject.TYPE_ROUND_VIDEO ? LocaleController.getString("AttachRound", R.string.AttachRound) : file.file.getName(), LocaleController.formatDateAudio(date, true), Utilities.getExtension(file.file.getName()), null, 0, divider);
|
||||
if (!animated) {
|
||||
|
Loading…
Reference in New Issue
Block a user