diff --git a/src/pages/DetailsPage.js b/src/pages/DetailsPage.js index 1c0ebe9d178b..5e64fbf3dd98 100755 --- a/src/pages/DetailsPage.js +++ b/src/pages/DetailsPage.js @@ -23,6 +23,7 @@ import MenuItem from '../components/MenuItem'; import AttachmentModal from '../components/AttachmentModal'; import PressableWithoutFocus from '../components/PressableWithoutFocus'; import * as Report from '../libs/actions/Report'; +import OfflineWithFeedback from '../components/OfflineWithFeedback'; import AutoUpdateTime from '../components/AutoUpdateTime'; const matchType = PropTypes.shape({ @@ -130,12 +131,16 @@ class DetailsPage extends React.PureComponent { style={styles.noOutline} onPress={show} > - + + + )} diff --git a/src/pages/home/report/ReportActionItemSingle.js b/src/pages/home/report/ReportActionItemSingle.js index a4958ab1b78b..73fc5781a079 100644 --- a/src/pages/home/report/ReportActionItemSingle.js +++ b/src/pages/home/report/ReportActionItemSingle.js @@ -1,3 +1,4 @@ +import lodashGet from 'lodash/get'; import React from 'react'; import {View, Pressable} from 'react-native'; import PropTypes from 'prop-types'; @@ -17,6 +18,7 @@ import ROUTES from '../../../ROUTES'; import {withPersonalDetails} from '../../../components/OnyxProvider'; import Tooltip from '../../../components/Tooltip'; import ControlSelection from '../../../libs/ControlSelection'; +import OfflineWithFeedback from '../../../components/OfflineWithFeedback'; const propTypes = { /** All the data of the action */ @@ -49,7 +51,12 @@ const showUserDetails = (email) => { }; const ReportActionItemSingle = (props) => { - const {avatar, displayName, login} = props.personalDetails[props.action.actorEmail] || {}; + const { + avatar, + displayName, + login, + pendingFields, + } = props.personalDetails[props.action.actorEmail] || {}; const avatarUrl = props.action.automatic ? CONST.CONCIERGE_ICON_URL @@ -72,10 +79,14 @@ const ReportActionItemSingle = (props) => { onPress={() => showUserDetails(props.action.actorEmail)} > - + + + diff --git a/src/pages/home/sidebar/SidebarLinks.js b/src/pages/home/sidebar/SidebarLinks.js index 00b0424844be..4b7ec32db154 100644 --- a/src/pages/home/sidebar/SidebarLinks.js +++ b/src/pages/home/sidebar/SidebarLinks.js @@ -1,3 +1,4 @@ +import lodashGet from 'lodash/get'; import React from 'react'; import {View, TouchableOpacity} from 'react-native'; import _ from 'underscore'; @@ -27,6 +28,7 @@ import reportActionPropTypes from '../report/reportActionPropTypes'; import LHNOptionsList from '../../../components/LHNOptionsList/LHNOptionsList'; import SidebarUtils from '../../../libs/SidebarUtils'; import reportPropTypes from '../../reportPropTypes'; +import OfflineWithFeedback from '../../../components/OfflineWithFeedback'; const propTypes = { /** Toggles the navigation menu open and closed */ @@ -163,10 +165,14 @@ class SidebarLinks extends React.Component { accessibilityRole="button" onPress={this.showSettingsPage} > - + + + diff --git a/src/pages/settings/InitialSettingsPage.js b/src/pages/settings/InitialSettingsPage.js index 7f78d11cc881..74cbc8d90d9c 100755 --- a/src/pages/settings/InitialSettingsPage.js +++ b/src/pages/settings/InitialSettingsPage.js @@ -1,3 +1,4 @@ +import lodashGet from 'lodash/get'; import React from 'react'; import {View, ScrollView, Pressable} from 'react-native'; import PropTypes from 'prop-types'; @@ -30,6 +31,7 @@ import * as Wallet from '../../libs/actions/Wallet'; import walletTermsPropTypes from '../EnablePayments/walletTermsPropTypes'; import * as PolicyUtils from '../../libs/PolicyUtils'; import ConfirmModal from '../../components/ConfirmModal'; +import OfflineWithFeedback from '../../components/OfflineWithFeedback'; const propTypes = { /* Onyx Props */ @@ -244,11 +246,15 @@ class InitialSettingsPage extends React.Component { - + + +