From 7d288fc4decbe50bafa6bea242bda35d05864968 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 31 Oct 2022 09:54:23 +1100 Subject: [PATCH] QR codes for invoics as a variable --- app/Utils/Traits/Inviteable.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/Utils/Traits/Inviteable.php b/app/Utils/Traits/Inviteable.php index 652850330b..8b6481bd1f 100644 --- a/app/Utils/Traits/Inviteable.php +++ b/app/Utils/Traits/Inviteable.php @@ -63,17 +63,15 @@ trait Inviteable { $renderer = new ImageRenderer( - new RendererStyle(300), + new RendererStyle(200), new SvgImageBackEnd() ); $writer = new Writer($renderer); $qr = $writer->writeString($this->getPaymentLink()); - return " - - {$qr} - "; + return " + {$qr}"; }