chore(profile): Add image to copy username action

This commit is contained in:
Marcus Kida 2023-01-05 13:32:32 +01:00
parent c56f1abd67
commit 74ea67181c
No known key found for this signature in database
GPG Key ID: 19FF64E08013CA40
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ final class ProfileHeaderView: UIView {
private lazy var usernameButtonMenu: UIMenu = {
UIMenu(children: [
UIAction(title: L10n.Common.Controls.Actions.copy, handler: { [weak self] _ in
UIAction(title: L10n.Common.Controls.Actions.copy, image: UIImage(systemName: "doc.on.doc"), handler: { [weak self] _ in
UIPasteboard.general.string = self?.usernameButton.title(for: .normal)
})
])