allow copying blocked user id

This commit is contained in:
Mauro Romito
2026-08-26 13:43:14 +02:00
parent a139257967
commit f6f6538bd6
4 changed files with 34 additions and 0 deletions
@@ -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)
}
}
}
}
}