@devries-cameron20 / t3code Mirror · read-only / commits / 1eeeabb26f
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 23, 23:00 UTC

fix(mobile): use a proper pull request icon on iOS (#12855)

Julius Marminge committed Sep 20, 2026 at 23:24 UTC 1eeeabb26f654c679efe265cd03edf69c3df3a6f
1 file changed +17 -2
apps/mobile/src/components/AppSymbol.ios.tsx
+17 -2
@@ -1,3 +1,4 @@
1 +import IconGitPullRequest from "@tabler/icons-react-native/IconGitPullRequest";
2 import { SymbolView as ExpoSymbolView } from "expo-symbols";
3 import { withUniwind } from "uniwind";
4 import type { AppSymbolViewProps } from "./AppSymbol";
@@ -6,10 +7,24 @@ export type { SFSymbol } from "expo-symbols";
7 export type { AppSymbolName } from "./AppSymbol";
8
9 /**
9 - * Keep the iOS implementation isolated from the Android Tabler fallback so
10 - * Metro does not initialize the icon package when iOS renders SF Symbols.
10 + * Use SF Symbols on iOS except for pull requests, which have no matching
11 + * native glyph. Import only that Tabler icon to keep the bundle small.
12 */
13 function AppSymbolView(props: AppSymbolViewProps) {
14 + const name = typeof props.name === "string" ? props.name : props.name.ios;
15 + if (name === "arrow.triangle.pull") {
16 + return (
17 + <IconGitPullRequest
18 + accessibilityLabel={props.accessibilityLabel}
19 + color={props.tintColor}
20 + size={props.size}
21 + strokeWidth={2}
22 + style={props.style}
23 + testID={props.testID}
24 + />
25 + );
26 + }
27 +
28 return <ExpoSymbolView {...props} />;
29 }
30