Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add preventSpotnanaTravel beta and prevent those users from seeing travel related content #56973

Merged
merged 4 commits into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Swap logic
  • Loading branch information
stitesExpensify committed Feb 17, 2025
commit 7c8a8dbbd7cfcf93e10c75213dc324ad79c80a99
2 changes: 1 addition & 1 deletion src/pages/Travel/MyTripsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function MyTripsPage() {
>
<FullPageNotFoundView
shouldForceFullScreen
shouldShow={(!canUseSpotnanaTravel && !NativeModules.HybridAppModule) || (!isBlockedFromSpotnanaTravel && !NativeModules.HybridAppModule)}
shouldShow={(!canUseSpotnanaTravel && !NativeModules.HybridAppModule) || (isBlockedFromSpotnanaTravel && !NativeModules.HybridAppModule)}
>
<HeaderWithBackButton
title={translate('travel.header')}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Travel/TravelTerms.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function TravelTerms({route}: TravelTermsPageProps) {
shouldEnableMaxHeight
testID={TravelTerms.displayName}
>
<FullPageNotFoundView shouldShow={(!canUseSpotnanaTravel && !NativeModules.HybridAppModule) || (!isBlockedFromSpotnanaTravel && !NativeModules.HybridAppModule)}>
<FullPageNotFoundView shouldShow={(!canUseSpotnanaTravel && !NativeModules.HybridAppModule) || (isBlockedFromSpotnanaTravel && !NativeModules.HybridAppModule)}>
<HeaderWithBackButton
title={translate('travel.termsAndConditions.header')}
onBackButtonPress={() => Navigation.goBack()}
Expand Down
Loading