Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
luacmartins committed Mar 16, 2022
1 parent b8d1bdd commit ddf2323
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/ReportWelcomeText.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ const ReportWelcomeText = (props) => {
<Text style={[styles.mt3, styles.mw100, styles.textAlignCenter]}>
{isPolicyExpenseChat && (
<>
{/* We should add the align center styles to Text individually because of limited style inheritance in React Native - https://reactnative.dev/docs/text#limited-style-inheritance */}
<Text style={styles.textAlignCenter}>
{props.translate('reportActionsView.beginningOfChatHistoryPolicyExpenseChatPartOne')}
</Text>
Expand All @@ -100,6 +101,7 @@ const ReportWelcomeText = (props) => {
)}
{isChatRoom && (
<>
{/* We should add the align center styles to Text individually because of limited style inheritance in React Native - https://reactnative.dev/docs/text#limited-style-inheritance */}
<Text style={styles.textAlignCenter}>
{isResctrictedRoom
? `${props.translate('reportActionsView.beginningOfChatHistoryRestrictedPartOne')}`
Expand All @@ -117,6 +119,7 @@ const ReportWelcomeText = (props) => {
)}
{isDefault && (
<>
{/* We should add the align center styles to Text individually because of limited style inheritance in React Native - https://reactnative.dev/docs/text#limited-style-inheritance */}
<Text style={styles.textAlignCenter}>
{props.translate('reportActionsView.beginningOfChatHistory')}
</Text>
Expand Down

0 comments on commit ddf2323

Please sign in to comment.