Skip to content

Commit 8431626

Browse files
committed
fix(mobile): retain minimum dictation control size
1 parent 84f8bc6 commit 8431626

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/mobile/src/features/voice-input/ComposerDictationControl.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ function VoiceActionButton(props: {
283283
const variant = props.variant ?? "plain";
284284
const loading = props.loading === true;
285285
const large = props.size === "large";
286-
const circleSize = Math.round((large ? 44 : 30) * scale);
286+
const circleSize = large ? composerControlSize : Math.round(30 * scale);
287287
const iconSize = Math.round(
288288
(variant === "primary" ? (large ? 20 : 16) : large ? 24 : 20) * scale,
289289
);

0 commit comments

Comments
 (0)