@devries-cameron20 / t3code-1 / commits / 20d21cf1ca
Fork 0

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

fix(mobile): disabled send arrow no longer darkens where its strokes overlap (#29028)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

RVZO6 committed Nov 14, 2026 at 07:50 UTC 20d21cf1cab0c3976a97a9c0743d36eec3615bf5
1 file changed +21 -13
apps/mobile/src/components/ComposerToolbar.tsx
+21 -13
@@ -285,6 +285,7 @@ export function ComposerActionButton(props: {
285 }) {
286 const { scale, smallIconSize } = useAndroidControlSizing();
287 const circleSize = Math.round((props.size === "large" ? 44 : 30) * scale);
288 + const fadeIcon = props.disabled === true && props.variant !== "danger";
289 return (
290 <Pressable
291 accessibilityLabel={props.accessibilityLabel}
@@ -308,19 +309,26 @@ export function ComposerActionButton(props: {
309 : "bg-primary",
310 )}
311 >
311 - <SymbolView
312 - name={props.icon}
313 - size={props.size === "large" ? Math.round(20 * scale) : smallIconSize}
314 - weight="semibold"
315 - tintColorClassName={
316 - props.variant === "danger"
317 - ? "accent-danger-foreground"
318 - : props.disabled
319 - ? "accent-foreground/38"
320 - : "accent-primary-foreground"
321 - }
322 - type="monochrome"
323 - />
312 + {/* Fade the icon as one layer: a translucent tint, or opacity on a Tabler icon (which
313 + copies it onto every path), stacks where the SVG strokes overlap. */}
314 + <View
315 + className={fadeIcon ? "opacity-38" : undefined}
316 + needsOffscreenAlphaCompositing={fadeIcon}
317 + >
318 + <SymbolView
319 + name={props.icon}
320 + size={props.size === "large" ? Math.round(20 * scale) : smallIconSize}
321 + weight="semibold"
322 + tintColorClassName={
323 + props.variant === "danger"
324 + ? "accent-danger-foreground"
325 + : props.disabled
326 + ? "accent-foreground"
327 + : "accent-primary-foreground"
328 + }
329 + type="monochrome"
330 + />
331 + </View>
332 </View>
333 </Pressable>
334 );