mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Allow copying blocked user id (#6071)
This commit is contained in:
@@ -38,6 +38,13 @@ struct BlockedUsersScreen: View {
|
||||
icon: avatar(for: user)),
|
||||
details: .isWaiting(context.viewState.processingUserID == user.id),
|
||||
kind: .button { context.send(viewAction: .unblockUser(user)) })
|
||||
.contextMenu {
|
||||
Button {
|
||||
context.send(viewAction: .copyUserID(user))
|
||||
} label: {
|
||||
Label(L10n.actionCopy, icon: \.copy)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user