We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 525d757 commit 133e46eCopy full SHA for 133e46e
1 file changed
app/mobile/app/(tabs)/_layout.tsx
@@ -1,3 +1,4 @@
1
+import * as Clipboard from "expo-clipboard";
2
import Constants from "expo-constants";
3
import { Tabs } from "expo-router";
4
import * as Updates from "expo-updates";
@@ -61,7 +62,9 @@ export default function TabLayout() {
61
62
);
63
if (tapTimestamps.current.length < 3) return;
64
tapTimestamps.current = [];
- setDebugToast(getDebugInfo());
65
+ const info = getDebugInfo();
66
+ void Clipboard.setStringAsync(info);
67
+ setDebugToast(`${info}\n\nCopied to clipboard`);
68
if (toastTimer.current) clearTimeout(toastTimer.current);
69
toastTimer.current = setTimeout(() => setDebugToast(null), 6000);
70
}, []);
0 commit comments