Skip to content
7 changes: 7 additions & 0 deletions src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2103,6 +2103,13 @@ const staticStyles = (theme: ThemeColors) =>
paddingBottom: 0,
alignSelf: 'center',
verticalAlign: 'middle',
...(Platform.OS === 'android' && {
height: undefined,
lineHeight: undefined,
alignSelf: 'stretch',
flexGrow: 1,
flexShrink: 1,
}),
},
0,
),
Expand Down
2 changes: 1 addition & 1 deletion src/styles/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1873,7 +1873,7 @@ const createStyleUtils = (theme: ThemeColors, styles: ThemeStyles) => ({
return {};
}

const composerLineHeight = styles.textInputCompose.lineHeight ?? 0;
const composerLineHeight = variables.lineHeightXLarge ?? 0;

return {
maxHeight: maxLines * composerLineHeight,
Expand Down
Loading