From 9a840ab74a571e6105e1aa8cf8592e32bd40d850 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Thu, 24 Apr 2025 09:35:45 -0600 Subject: [PATCH] ran lint-fix --- src/views/ContactQRScanShowView.vue | 33 +++++++++++++++++------------ 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/src/views/ContactQRScanShowView.vue b/src/views/ContactQRScanShowView.vue index d8b06d50..d925a22c 100644 --- a/src/views/ContactQRScanShowView.vue +++ b/src/views/ContactQRScanShowView.vue @@ -216,14 +216,18 @@ export default class ContactQRScanShow extends Vue { // Check if scanning is supported first if (!(await scanner.isSupported())) { - this.error = "Camera access requires HTTPS. Please use a secure connection."; + this.error = + "Camera access requires HTTPS. Please use a secure connection."; this.isScanning = false; - this.$notify({ - group: "alert", - type: "warning", - title: "HTTPS Required", - text: "Camera access requires a secure (HTTPS) connection" - }, 5000); + this.$notify( + { + group: "alert", + type: "warning", + title: "HTTPS Required", + text: "Camera access requires a secure (HTTPS) connection", + }, + 5000, + ); return; } @@ -234,12 +238,15 @@ export default class ContactQRScanShow extends Vue { 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); + this.$notify( + { + group: "alert", + type: "warning", + title: "Camera Access Required", + text: "Camera permission denied", + }, + 5000, + ); return; } }