From 1b14104ebe3dfc23ce90f589ef6d818d917763fb Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 30 Jul 2026 15:14:11 +0000 Subject: [PATCH] Make butterfly logo red for OTA test Temporary override in the Logo component so the butterfly renders red on every surface, including the sky gradient variant. Not for merge. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Bw2W37CPVHsDbTEfuAAe7M --- src/view/icons/Logo.tsx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/view/icons/Logo.tsx b/src/view/icons/Logo.tsx index 4735295649..f16eed45da 100644 --- a/src/view/icons/Logo.tsx +++ b/src/view/icons/Logo.tsx @@ -11,7 +11,7 @@ import Svg, { import {Image} from 'expo-image' import {useLogoVariant} from '#/view/icons/useLogoVariant' -import {flatten, useTheme} from '#/alf' +import {flatten} from '#/alf' const ratio = 57 / 64 @@ -22,13 +22,14 @@ type Props = { } & Omit export const Logo = forwardRef(function LogoImpl(props: Props, ref) { - const t = useTheme() const {allowVariants = true, fill, ...rest} = props const gradient = fill === 'sky' const styles = flatten(props.style) - const _fill = gradient - ? 'url(#sky)' - : fill || styles?.color || t.palette.primary_500 + /* + * Temporary override for an OTA update test - forces the logo red regardless + * of the requested fill. Not for merge. + */ + const _fill = gradient ? 'url(#sky)' : 'red' // @ts-ignore it's fiiiiine const size = parseInt(rest.width || 32, 10) @@ -64,8 +65,8 @@ export const Logo = forwardRef(function LogoImpl(props: Props, ref) { {gradient && ( - - + + )}