Skip to content

Commit a8dba9c

Browse files
authored
fix(mobile): the empty composer row shows only the provider icon (pingdotgg#23570)
1 parent 09bb9f1 commit a8dba9c

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎apps/mobile/src/features/threads/ThreadComposer.tsx‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -849,8 +849,6 @@ export const ThreadComposer = function ThreadComposer(props: ThreadComposerProps
849849
</>
850850
) : null;
851851

852-
// The row and the card's toolbar share this picker. It shrinks to the provider
853-
// icon in the row once the draft has text, so the draft keeps the width.
854852
const modelControl = (
855853
<View className="min-w-0 shrink">
856854
<ComposerModelControl
@@ -861,9 +859,7 @@ export const ThreadComposer = function ThreadComposer(props: ThreadComposerProps
861859
reportedSelection={props.reportedModelSelection}
862860
prompt={draftMessage}
863861
surfaceColor={composerPanel}
864-
iconOnly={
865-
(draftMessage.length > 0 || stripAttachments.length > 0) && !compactEditor.isExpanded
866-
}
862+
iconOnly={!compactEditor.isExpanded}
867863
onPress={openSettings}
868864
/>
869865
</View>

0 commit comments

Comments
 (0)