From 87438e7b6b8e1f7f5d3135775a9d9275ca695553 Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Thu, 24 Apr 2025 09:48:58 +0000 Subject: [PATCH] fix: improve camera permission error feedback - Add user-visible notification when camera access is denied - Keep error message in UI for better visibility - Pass notification timeout as second argument --- src/views/ContactQRScanShowView.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/views/ContactQRScanShowView.vue b/src/views/ContactQRScanShowView.vue index 1484378b..57a0f065 100644 --- a/src/views/ContactQRScanShowView.vue +++ b/src/views/ContactQRScanShowView.vue @@ -220,6 +220,13 @@ export default class ContactQRScanShow extends Vue { if (!granted) { this.error = "Camera permission denied"; this.isScanning = false; + // Show notification for better visibility + this.$notify({ + group: "alert", + type: "warning", + title: "Camera Access Required", + text: "Camera permission denied" + }, 5000); return; } }