Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
08357440
Unverified
Commit
08357440
authored
Nov 11, 2022
by
cartcrom
Committed by
GitHub
Nov 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: replaced protocol disclaimer with privacy policy link (#5170)
copy updates
parent
f5df2fed
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
20 deletions
+12
-20
index.tsx
src/components/PrivacyPolicy/index.tsx
+2
-2
index.tsx
src/components/WalletModal/index.tsx
+10
-18
No files found.
src/components/PrivacyPolicy/index.tsx
View file @
08357440
...
...
@@ -137,12 +137,12 @@ export function PrivacyPolicy() {
</
ExternalLink
>
</
StyledExternalCard
>
<
StyledExternalCard
>
<
ExternalLink
href=
{
'
https://uniswap.org/
disclaimer
/
'
}
>
<
ExternalLink
href=
{
'
https://uniswap.org/
privacy-policy
/
'
}
>
<
RowBetween
>
<
AutoRow
gap=
"4px"
>
<
Info
size=
{
20
}
/>
<
ThemedText
.
DeprecatedMain
fontSize=
{
14
}
color=
{
'
deprecated_primaryText1
'
}
>
<
Trans
>
Pr
otocol Disclaimer
</
Trans
>
<
Trans
>
Pr
ivacy Policy
</
Trans
>
</
ThemedText
.
DeprecatedMain
>
</
AutoRow
>
<
StyledLinkOut
size=
{
20
}
/>
...
...
src/components/WalletModal/index.tsx
View file @
08357440
...
...
@@ -315,32 +315,24 @@ export default function WalletModal({
function
getTermsOfService
(
nftFlagEnabled
:
boolean
,
walletView
:
string
)
{
if
(
nftFlagEnabled
&&
walletView
===
WALLET_VIEWS
.
PENDING
)
return
null
return
nftFlagEnabled
?
(
<
AutoRow
style=
{
{
flexWrap
:
'
nowrap
'
,
padding
:
'
4px 16px
'
}
}
>
<
ThemedText
.
BodySecondary
fontSize=
{
16
}
lineHeight=
{
'
24px
'
}
>
const
content
=
(
<
Trans
>
By connecting a wallet, you agree to Uniswap Labs’
{
'
'
}
<
ExternalLink
href=
"https://uniswap.org/terms-of-service/"
>
Terms of Service
</
ExternalLink
>
and consent to
its
<
ExternalLink
href=
"https://uniswap.org/privacy-policy"
>
Privacy Policy
</
ExternalLink
>
.
<
ExternalLink
href=
"https://uniswap.org/terms-of-service/"
>
Terms of Service
</
ExternalLink
>
and consent to its
{
'
'
}
<
ExternalLink
href=
"https://uniswap.org/privacy-policy"
>
Privacy Policy
</
ExternalLink
>
.
</
Trans
>
)
return
nftFlagEnabled
?
(
<
AutoRow
style=
{
{
flexWrap
:
'
nowrap
'
,
padding
:
'
4px 16px
'
}
}
>
<
ThemedText
.
BodySecondary
fontSize=
{
16
}
lineHeight=
{
'
24px
'
}
>
{
content
}
</
ThemedText
.
BodySecondary
>
</
AutoRow
>
)
:
(
<
LightCard
>
<
AutoRow
style=
{
{
flexWrap
:
'
nowrap
'
}
}
>
<
ThemedText
.
DeprecatedBody
fontSize=
{
12
}
>
<
Trans
>
By connecting a wallet, you agree to Uniswap Labs’
{
'
'
}
<
ExternalLink
style=
{
{
textDecoration
:
'
underline
'
}
}
href=
"https://uniswap.org/terms-of-service/"
>
Terms of Service
</
ExternalLink
>
{
'
'
}
and acknowledge that you have read and understand the Uniswap
{
'
'
}
<
ExternalLink
style=
{
{
textDecoration
:
'
underline
'
}
}
href=
"https://uniswap.org/disclaimer/"
>
Protocol Disclaimer
</
ExternalLink
>
.
</
Trans
>
</
ThemedText
.
DeprecatedBody
>
<
ThemedText
.
DeprecatedBody
fontSize=
{
12
}
>
{
content
}
</
ThemedText
.
DeprecatedBody
>
</
AutoRow
>
</
LightCard
>
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment