mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-13 23:56:47 +00:00
🖼️ Dynamically load QR code overlay image based on user language preference
This commit is contained in:
@@ -54,7 +54,7 @@ class extends Component {
|
|||||||
$this->lnurl = lnurl\encodeUrl($this->url);
|
$this->lnurl = lnurl\encodeUrl($this->url);
|
||||||
$this->qrCode = base64_encode(QrCode::format('png')
|
$this->qrCode = base64_encode(QrCode::format('png')
|
||||||
->size(300)
|
->size(300)
|
||||||
->merge('/public/android-chrome-192x192.png', .3)
|
->merge('/public/img/domains/'.session('lang_country', 'de-DE').'.jpg', .3)
|
||||||
->errorCorrection('H')
|
->errorCorrection('H')
|
||||||
->generate($this->lnurl));
|
->generate($this->lnurl));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user