Skip to content

Commit

Permalink
update function for Split
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonals committed May 2, 2024
1 parent c051a1a commit 3f12ddf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/libs/getIconForAction/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ const getIconForAction = (actionType: ValueOf<typeof CONST.IOU.TYPE>) => {
return Expensicons.Receipt;
case CONST.IOU.TYPE.SEND:
return Expensicons.Cash;
case CONST.IOU.TYPE.SPLIT:
return Expensicons.Transfer;
default:
return Expensicons.MoneyCircle;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const getQuickActionIcon = (action: QuickActionName): React.FC<SvgProps> => {
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:
Expand Down

0 comments on commit 3f12ddf

Please sign in to comment.