Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
OtavioStasiak authored and diegolmello committed Oct 22, 2024
1 parent 90909f9 commit 3cdf516
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/containers/markdown/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,6 @@ class Markdown extends PureComponent<IMarkdownProps, any> {
renderText = ({ context, literal }: { context: []; literal: string }) => {
const { numberOfLines } = this.props;
const defaultStyle = [this.isMessageContainsOnlyEmoji ? styles.textBig : {}, ...context.map(type => styles[type])];

if (this.isMessageContainsOnlyEmoji) return this.renderEmoji({ literal });

return (
<Text accessibilityLabel={literal} style={[styles.text, defaultStyle]} numberOfLines={numberOfLines}>
{literal}
Expand Down

0 comments on commit 3cdf516

Please sign in to comment.