-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1971 from Expensify/puneet-terms-licenses
- Loading branch information
Showing
9 changed files
with
122 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import React from 'react'; | ||
import {Text, View} from 'react-native'; | ||
import styles from '../../../styles/styles'; | ||
import CONST from '../../../CONST'; | ||
import openURLInNewTab from '../../../libs/openURLInNewTab'; | ||
|
||
const TermsOnly = () => ( | ||
<View style={[styles.mt6]}> | ||
<Text style={[styles.loginTermsText]}> | ||
By logging in, you agree to the | ||
{' '} | ||
<Text | ||
style={[styles.loginTermsText, styles.link]} | ||
onPress={() => openURLInNewTab(CONST.TERMS_URL)} | ||
> | ||
terms of service | ||
</Text> | ||
{' '} | ||
and | ||
{' '} | ||
<Text | ||
style={[styles.loginTermsText, styles.link]} | ||
onPress={() => openURLInNewTab(CONST.PRIVACY_URL)} | ||
> | ||
privacy policy | ||
</Text> | ||
. | ||
</Text> | ||
</View> | ||
); | ||
|
||
export default TermsOnly; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import React from 'react'; | ||
import {Text, View} from 'react-native'; | ||
import styles from '../../../styles/styles'; | ||
import CONST from '../../../CONST'; | ||
import openURLInNewTab from '../../../libs/openURLInNewTab'; | ||
|
||
const TermsWithLicenses = () => ( | ||
<View style={[styles.mt6]}> | ||
<Text style={[styles.loginTermsText]}> | ||
By logging in, you agree to the | ||
{' '} | ||
<Text | ||
style={[styles.loginTermsText, styles.link]} | ||
onPress={() => openURLInNewTab(CONST.TERMS_URL)} | ||
> | ||
terms of service | ||
</Text> | ||
{' '} | ||
and | ||
{' '} | ||
<Text | ||
style={[styles.loginTermsText, styles.link]} | ||
onPress={() => openURLInNewTab(CONST.PRIVACY_URL)} | ||
> | ||
privacy policy | ||
</Text> | ||
. Money transmission is provided by Expensify Payments LLC (NMLS ID:2017010) pursuant to its | ||
{' '} | ||
<Text | ||
style={[styles.loginTermsText, styles.link]} | ||
onPress={() => openURLInNewTab(CONST.LICENSES_URL)} | ||
> | ||
licenses | ||
</Text> | ||
. | ||
</Text> | ||
</View> | ||
); | ||
|
||
export default TermsWithLicenses; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import TermsOnly from './TermsOnly'; | ||
|
||
export default TermsOnly; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import TermsOnly from './TermsOnly'; | ||
|
||
export default TermsOnly; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import TermsWithLicenses from './TermsWithLicenses'; | ||
|
||
export default TermsWithLicenses; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters