Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2024-12-18 11:43:52 +01:00 committed by Alper Öztürk
parent bbaa77ab23
commit 3f68abe00b

View file

@ -47,8 +47,8 @@ class RecommendedFilesAdapter(
holder.binding.run {
name.text = item.name
val secondsInMillisecond = (item.timestamp * 1000)
timestamp.text = DisplayUtils.getRelativeTimestamp(context, secondsInMillisecond)
val modificationTimestamp = (item.timestamp * 1000)
timestamp.text = DisplayUtils.getRelativeTimestamp(context, modificationTimestamp)
val file = storageManager.getFileByLocalId(item.id) ?: return