fix qr code web

This commit is contained in:
2025-10-24 14:48:30 +02:00
parent 8356b04eb2
commit 0b37c7bc07
4 changed files with 62 additions and 10 deletions
+8 -1
View File
@@ -1,6 +1,6 @@
import { Portal } from "@gorhom/portal";
import { BlurView } from "expo-blur";
import React, { useMemo } from "react";
import React, { useEffect, useMemo } from "react";
import { Platform, Pressable, StyleSheet, Text, View } from "react-native";
import { Palette } from "../../styles";
@@ -15,6 +15,13 @@ const ShareQrModal = ({
}) => {
const shareUrl = useMemo(() => url, [url]);
useEffect(() => {
console.log("share.qr.modal.state", {
visible,
url: shareUrl,
});
}, [shareUrl, visible]);
if (!visible) {
return null;
}