TypeScript
fix(mobile): dictation confirm button no longer hugs the small composer's edge (#26597)
Julius Marminge886d8f681234
diff --git a/apps/mobile/src/features/voice-input/ComposerDictationControl.tsx b/apps/mobile/src/features/voice-input/ComposerDictationControl.tsxindex dedfed547c8..f38c4f05825 100644--- a/apps/mobile/src/features/voice-input/ComposerDictationControl.tsx+++ b/apps/mobile/src/features/voice-input/ComposerDictationControl.tsx@@ -282,7 +282,8 @@ function VoiceActionButton(props: {style={{opacity: props.disabled && !props.loading ? 0.4 : 1,// Matches ComposerActionButton so the circle stays concentric with the large composer corner.- width: variant === "primary" && large ? 62 : undefined,+ // An undefined width would still override the class's 44px width.+ ...(variant === "primary" && large ? { width: 62 } : null),}}><View