Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2024-12-18 11:43:52 +01:00
parent 7ad9657c4f
commit 52b58fa47f
No known key found for this signature in database
GPG key ID: 4E577DC593B59BDF

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