Skip to content

Commit

Permalink
fix(sharedItems): "Close" instead of "Cancel"
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Müller <[email protected]>
  • Loading branch information
SystemKeeper committed Dec 15, 2024
1 parent 8aedd85 commit 71b4548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NextcloudTalk/RoomSharedItemsTableViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ import QuickLook

self.present(previewNavigationChatViewController, animated: false)

previewChatViewController.navigationItem.rightBarButtonItem = UIBarButtonItem(systemItem: .cancel, primaryAction: UIAction { [weak previewChatViewController] _ in
previewChatViewController.navigationItem.rightBarButtonItem = UIBarButtonItem(title: NSLocalizedString("Close", comment: ""), primaryAction: UIAction { [weak previewChatViewController] _ in
previewChatViewController?.dismiss(animated: true)
})
}
Expand Down

0 comments on commit 71b4548

Please sign in to comment.