UX: Close the QR code/link dialog automatically when the code is click-to-copied.

This commit is contained in:
Leo Vasanko
2025-12-10 19:07:56 +00:00
parent b2eb5e5e36
commit 727db38bc7
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -36,6 +36,7 @@ const hasActiveModal = computed(() => props.showRegModal)
function onLinkCopied() {
authStore.showMessage(`📋 Link copied! Send it to ${props.selectedUser.display_name}.`)
emit('closeRegModal')
}
function handleEditName() {
+1
View File
@@ -187,6 +187,7 @@ const handlePairingError = (message) => {
const onLinkCopied = () => {
authStore.showMessage('📋 Link copied! Send it to your other device.')
showRegLink.value = false
}
// Helper to focus preferred button in a row (primary first, or first button)