Skip to content

Commit d678854

Browse files
committed
fix(mobile): the empty composer row shows only the provider icon
1 parent 8d3b061 commit d678854

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
@@ -848,8 +848,6 @@ export const ThreadComposer = function ThreadComposer(props: ThreadComposerProps
848848
</>
849849
) : null;
850850

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

0 commit comments

Comments
 (0)