From 3c02569a045aa5303f97142893f7cfef86eaf9b3 Mon Sep 17 00:00:00 2001
From: Matthias Nott <mnott@mnsoft.org>
Date: Sat, 07 Mar 2026 18:13:11 +0100
Subject: [PATCH] fix: pass raw base64 to Clipboard.setImageAsync (not data URI)
---
components/chat/ImageViewer.tsx | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/components/chat/ImageViewer.tsx b/components/chat/ImageViewer.tsx
index 0bd0188..488c659 100644
--- a/components/chat/ImageViewer.tsx
+++ b/components/chat/ImageViewer.tsx
@@ -71,7 +71,7 @@
const handleCopy = useCallback(async () => {
try {
- await Clipboard.setImageAsync(`data:image/png;base64,${imageBase64}`);
+ await Clipboard.setImageAsync(imageBase64);
} catch (err: any) {
Alert.alert("Copy Error", err?.message ?? String(err));
}
--
Gitblit v1.3.1