The best way to control Claude Code, Codex and more from any computer or phone

main
tsx 17 lines 704 Bytes
Raw
1 import { Platform } from "react-native";
2 export const NATIVE_WORKSPACE_COLUMNS_SUPPORTED = Platform.OS === "ios" && Platform.isPad;
3 export const NATIVE_METRICS_TIMEOUT_MS = 0;
4
5 export function nativeWorkspaceColumnsSupportedFor(_metrics: unknown) {
6 return NATIVE_WORKSPACE_COLUMNS_SUPPORTED;
7 }
8
9 // oxlint-disable-next-line t3code/no-hookless-use-function -- Non-iOS stub of a hook; the .ios.tsx file calls hooks.
10 export function useNativeWorkspaceColumnsReady() {
11 return true;
12 }
13
14 // oxlint-disable-next-line t3code/no-hookless-use-function -- Non-iOS stub of a hook; the .ios.tsx file calls hooks.
15 export function useNativeWorkspaceColumnsSupported() {
16 return NATIVE_WORKSPACE_COLUMNS_SUPPORTED;
17 }