Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Show filename in SharedItemsTableViewController
Signed-off-by: Marcel Müller <[email protected]>
  • Loading branch information
SystemKeeper committed Dec 2, 2023
commit 623e4c610109123b951d940044a4899bf12c5aca
7 changes: 6 additions & 1 deletion NextcloudTalk/RoomSharedItemsTableViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,12 @@ import QuickLook

let message = currentItems[indexPath.row]

cell.fileNameLabel?.text = message.parsedMessage().string
if let file = message.file() {
cell.fileNameLabel?.text = file.name
} else {
cell.fileNameLabel?.text = message.parsedMessage().string
}

var infoLabelText = NCUtils.relativeTimeFromDate(date: Date(timeIntervalSince1970: Double(message.timestamp)))
if !message.actorDisplayName.isEmpty {
infoLabelText += " ⸱ " + message.actorDisplayName
Expand Down