diff --git a/bicorder-app/src/components/ExportControls.svelte b/bicorder-app/src/components/ExportControls.svelte
index b501a16..8b7131a 100644
--- a/bicorder-app/src/components/ExportControls.svelte
+++ b/bicorder-app/src/components/ExportControls.svelte
@@ -33,30 +33,6 @@
URL.revokeObjectURL(url);
}
- async function shareResults() {
- const json = JSON.stringify(data, null, 2);
- const file = new File([json], `bicorder-${data.metadata.protocol || 'diagnostic'}.json`, {
- type: 'application/json',
- });
-
- if (navigator.share && navigator.canShare && navigator.canShare({ files: [file] })) {
- try {
- await navigator.share({
- title: 'Protocol Bicorder Diagnostic',
- text: `Diagnostic for: ${data.metadata.protocol || 'Protocol'}`,
- files: [file],
- });
- } catch (err) {
- if ((err as Error).name !== 'AbortError') {
- console.error('Share failed:', err);
- alert('Share failed. Try using the Export button instead.');
- }
- }
- } else {
- alert('Web Share API not supported. Use the Export button to download the file.');
- }
- }
-
async function uploadReadings() {
isUploading = true;
@@ -128,12 +104,6 @@
💾 Export JSON
- {#if navigator.share}
-
- {/if}
-