diff --git a/src/libs/getIconForAction/index.ts b/src/libs/getIconForAction/index.ts index 820cf2687f02..ffe3dd8b76f2 100644 --- a/src/libs/getIconForAction/index.ts +++ b/src/libs/getIconForAction/index.ts @@ -10,6 +10,8 @@ const getIconForAction = (actionType: ValueOf) => { return Expensicons.Receipt; case CONST.IOU.TYPE.SEND: return Expensicons.Cash; + case CONST.IOU.TYPE.SPLIT: + return Expensicons.Transfer; default: return Expensicons.MoneyCircle; } diff --git a/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx b/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx index cc61e61aa1f8..bc7b49f94c91 100644 --- a/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx +++ b/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx @@ -98,7 +98,7 @@ const policySelector = (policy: OnyxEntry): PolicySelector => const getQuickActionIcon = (action: QuickActionName): React.FC => { switch (action) { case CONST.QUICK_ACTIONS.REQUEST_MANUAL: - return Expensicons.MoneyCircle; + return getIconForAction(CONST.IOU.TYPE.REQUEST); case CONST.QUICK_ACTIONS.REQUEST_SCAN: return Expensicons.ReceiptScan; case CONST.QUICK_ACTIONS.REQUEST_DISTANCE: @@ -106,15 +106,17 @@ const getQuickActionIcon = (action: QuickActionName): React.FC => { case CONST.QUICK_ACTIONS.SPLIT_MANUAL: case CONST.QUICK_ACTIONS.SPLIT_SCAN: case CONST.QUICK_ACTIONS.SPLIT_DISTANCE: - return Expensicons.Transfer; + return getIconForAction(CONST.IOU.TYPE.SPLIT); case CONST.QUICK_ACTIONS.SEND_MONEY: return getIconForAction(CONST.IOU.TYPE.SEND); case CONST.QUICK_ACTIONS.ASSIGN_TASK: return Expensicons.Task; case CONST.QUICK_ACTIONS.TRACK_DISTANCE: + return Expensicons.Car; case CONST.QUICK_ACTIONS.TRACK_MANUAL: - case CONST.QUICK_ACTIONS.TRACK_SCAN: return getIconForAction(CONST.IOU.TYPE.TRACK); + case CONST.QUICK_ACTIONS.TRACK_SCAN: + return Expensicons.ReceiptScan; default: return Expensicons.MoneyCircle; }