Skip to content

Commit

Permalink
Update Quick Action Button icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonals committed May 1, 2024
1 parent 41e3840 commit 292d4d2
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const policySelector = (policy: OnyxEntry<OnyxTypes.Policy>): PolicySelector =>
const getQuickActionIcon = (action: QuickActionName): React.FC<SvgProps> => {
switch (action) {
case CONST.QUICK_ACTIONS.REQUEST_MANUAL:
return Expensicons.MoneyCircle;
return Expensicons.Receipt;
case CONST.QUICK_ACTIONS.REQUEST_SCAN:
return Expensicons.ReceiptScan;
case CONST.QUICK_ACTIONS.REQUEST_DISTANCE:
Expand All @@ -112,9 +112,11 @@ const getQuickActionIcon = (action: QuickActionName): React.FC<SvgProps> => {
case CONST.QUICK_ACTIONS.ASSIGN_TASK:
return Expensicons.Task;
case CONST.QUICK_ACTIONS.TRACK_DISTANCE:
return Expensicons.Car;
case CONST.QUICK_ACTIONS.TRACK_MANUAL:
return Expensicons.Coins;
case CONST.QUICK_ACTIONS.TRACK_SCAN:
return getIconForAction(CONST.IOU.TYPE.TRACK);
return Expensicons.ReceiptScan;
default:
return Expensicons.MoneyCircle;
}
Expand Down

0 comments on commit 292d4d2

Please sign in to comment.