UX: Close the QR code/link dialog automatically when the code is click-to-copied.
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user