diff --git a/app/src/main/java/com/owncloud/android/ui/adapter/RecommendedFilesAdapter.kt b/app/src/main/java/com/owncloud/android/ui/adapter/RecommendedFilesAdapter.kt index 0152d39f6c..235dbb0ec8 100644 --- a/app/src/main/java/com/owncloud/android/ui/adapter/RecommendedFilesAdapter.kt +++ b/app/src/main/java/com/owncloud/android/ui/adapter/RecommendedFilesAdapter.kt @@ -47,7 +47,8 @@ class RecommendedFilesAdapter( holder.binding.run { name.text = item.name - timestamp.text = DisplayUtils.getRelativeTimestamp(context, item.timestamp) + val secondsInMillisecond = (item.timestamp * 1000) + timestamp.text = DisplayUtils.getRelativeTimestamp(context, secondsInMillisecond) val file = storageManager.getFileByLocalId(item.id) ?: return diff --git a/app/src/main/res/layout/list_header.xml b/app/src/main/res/layout/list_header.xml index 9ca4f9b55c..6520f22591 100644 --- a/app/src/main/res/layout/list_header.xml +++ b/app/src/main/res/layout/list_header.xml @@ -43,10 +43,8 @@ 120dp 180dp 150dp + + 22sp