From ddf2323324574a1d6987fb61da5c714457d6e38f Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Wed, 16 Mar 2022 15:33:08 -0600 Subject: [PATCH] add comment --- src/components/ReportWelcomeText.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/ReportWelcomeText.js b/src/components/ReportWelcomeText.js index 50571a9376b5..3a5fe4d99bb4 100644 --- a/src/components/ReportWelcomeText.js +++ b/src/components/ReportWelcomeText.js @@ -80,6 +80,7 @@ const ReportWelcomeText = (props) => { {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 */} {props.translate('reportActionsView.beginningOfChatHistoryPolicyExpenseChatPartOne')} @@ -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 */} {isResctrictedRoom ? `${props.translate('reportActionsView.beginningOfChatHistoryRestrictedPartOne')}` @@ -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 */} {props.translate('reportActionsView.beginningOfChatHistory')}