Skip to content

Commit

Permalink
Merge pull request #29236 from Expensify/vit-addSaveTheWorldBack
Browse files Browse the repository at this point in the history
Bring Save the world button back
  • Loading branch information
jasperhuangg authored Oct 10, 2023
2 parents 11acdc2 + 743c7b8 commit 3901bcb
Showing 1 changed file with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,16 +185,16 @@ function FloatingActionButtonAndPopover(props) {
text: props.translate('sidebarScreen.fabNewChat'),
onSelected: () => interceptAnonymousUser(() => Navigation.navigate(ROUTES.NEW)),
},
{
icon: Expensicons.Send,
text: props.translate('iou.sendMoney'),
onSelected: () => interceptAnonymousUser(() => IOU.startMoneyRequest(CONST.IOU.MONEY_REQUEST_TYPE.SEND)),
},
{
icon: Expensicons.MoneyCircle,
text: props.translate('iou.requestMoney'),
onSelected: () => interceptAnonymousUser(() => IOU.startMoneyRequest(CONST.IOU.MONEY_REQUEST_TYPE.REQUEST)),
},
{
icon: Expensicons.Send,
text: props.translate('iou.sendMoney'),
onSelected: () => interceptAnonymousUser(() => IOU.startMoneyRequest(CONST.IOU.MONEY_REQUEST_TYPE.SEND)),
},
...(Permissions.canUseTasks(props.betas)
? [
{
Expand All @@ -204,6 +204,11 @@ function FloatingActionButtonAndPopover(props) {
},
]
: []),
{
icon: Expensicons.Heart,
text: props.translate('sidebarScreen.saveTheWorld'),
onSelected: () => interceptAnonymousUser(() => Navigation.navigate(ROUTES.TEACHERS_UNITE)),
},
...(!props.isLoading && !Policy.hasActiveFreePolicy(props.allPolicies)
? [
{
Expand Down

0 comments on commit 3901bcb

Please sign in to comment.