diff --git a/src/components/ThreeDotsMenu/index.js b/src/components/ThreeDotsMenu/index.js index 604a3bf824e..27ebb22b543 100644 --- a/src/components/ThreeDotsMenu/index.js +++ b/src/components/ThreeDotsMenu/index.js @@ -8,7 +8,7 @@ import PopoverMenu from '../PopoverMenu'; import styles from '../../styles/styles'; import withLocalize, {withLocalizePropTypes} from '../withLocalize'; import Tooltip from '../Tooltip'; -import {ThreeDots} from '../Icon/Expensicons'; +import * as Expensicons from '../Icon/Expensicons'; import ThreeDotsMenuItemPropTypes from './ThreeDotsMenuItemPropTypes'; const propTypes = { @@ -45,7 +45,7 @@ const defaultProps = { iconTooltip: 'common.more', iconFill: undefined, iconStyles: [], - icon: ThreeDots, + icon: Expensicons.ThreeDots, onIconPress: () => {}, }; diff --git a/src/libs/actions/Policy.js b/src/libs/actions/Policy.js index 6662cb07d8e..134dbf8faa3 100644 --- a/src/libs/actions/Policy.js +++ b/src/libs/actions/Policy.js @@ -147,12 +147,12 @@ function deletePolicy(policyID) { .then((response) => { if (response.jsonCode !== 200) { // Show the user feedback - const errorMessage = translateLocal('workspace.new.genericFailureMessage'); + const errorMessage = Localize.translateLocal('workspace.new.genericFailureMessage'); Growl.error(errorMessage, 5000); return; } - Growl.show(translateLocal('workspace.common.growlMessageOnDelete'), CONST.GROWL.SUCCESS, 3000); + Growl.show(Localize.translateLocal('workspace.common.growlMessageOnDelete'), CONST.GROWL.SUCCESS, 3000); // Removing the workspace data from Onyx as well return Onyx.set(`${ONYXKEYS.COLLECTION.POLICY}${policyID}`, null); diff --git a/src/styles/styles.js b/src/styles/styles.js index 110791df72f..fef9362ca99 100644 --- a/src/styles/styles.js +++ b/src/styles/styles.js @@ -2259,10 +2259,6 @@ const styles = { borderTopWidth: 0, }, - googleListView: { - transform: [{scale: 0}], - }, - iPhoneXSafeArea: { backgroundColor: colors.black, flex: 1,