Allow copying blocked user id (#6071)

This commit is contained in:
Mauro
2026-08-26 14:06:11 +02:00
committed by GitHub
parent 142529ad69
commit 8874ee112c
5 changed files with 36 additions and 1 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)
}
}
}
}
}