Skip to content

Commit

Permalink
fix analytics UI
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulnr7 committed Sep 9, 2024
1 parent 81b6f8f commit b04e15a
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 46 deletions.
9 changes: 7 additions & 2 deletions apps/wallet-mobile/src/components/Analytics/Analytics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const Settings = ({onReadMore}: {onReadMore?: () => void}) => {
<CommonContent onReadMore={onReadMore} />

<View style={styles.toggle}>
<Text bold>{strings.toggle}</Text>
<Text style={styles.toggle_text}>{strings.toggle}</Text>

<Spacer fill />

Expand Down Expand Up @@ -213,6 +213,7 @@ const useStyles = () => {
link: {
color: color.primary_600,
textAlign: 'center',
...atoms.link_1_lg,
},
title: {
...atoms.heading_3_medium,
Expand All @@ -235,9 +236,13 @@ const useStyles = () => {
fontSize: 16,
},
toggle: {
padding: 16,
flexDirection: 'row',
alignItems: 'center',
fontSize: 24,
},
toggle_text: {
...atoms.body_1_lg_medium,
fontWeight: '500',
},
buttonRow: {
width: '100%',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,164 +4,164 @@
"defaultMessage": "!!!Join the journey to improve Yoroi",
"file": "src/components/Analytics/Analytics.tsx",
"start": {
"line": 294,
"line": 299,
"column": 10,
"index": 7448
"index": 7581
},
"end": {
"line": 297,
"line": 302,
"column": 3,
"index": 7541
"index": 7674
}
},
{
"id": "analytics.description",
"defaultMessage": "!!!Share user insights to help us fine tune Yoroi to better serve your needs.",
"file": "src/components/Analytics/Analytics.tsx",
"start": {
"line": 298,
"line": 303,
"column": 15,
"index": 7558
"index": 7691
},
"end": {
"line": 301,
"line": 306,
"column": 3,
"index": 7697
"index": 7830
}
},
{
"id": "analytics.anonymous",
"defaultMessage": "!!!Anonymous analytics data",
"file": "src/components/Analytics/Analytics.tsx",
"start": {
"line": 302,
"line": 307,
"column": 13,
"index": 7712
"index": 7845
},
"end": {
"line": 305,
"line": 310,
"column": 3,
"index": 7799
"index": 7932
}
},
{
"id": "analytics.optout",
"defaultMessage": "!!!You can always opt-out via Settings",
"file": "src/components/Analytics/Analytics.tsx",
"start": {
"line": 306,
"line": 311,
"column": 10,
"index": 7811
"index": 7944
},
"end": {
"line": 309,
"line": 314,
"column": 3,
"index": 7906
"index": 8039
}
},
{
"id": "analytics.private",
"defaultMessage": "!!!We <b>cannot</b> access private keys",
"file": "src/components/Analytics/Analytics.tsx",
"start": {
"line": 310,
"line": 315,
"column": 11,
"index": 7919
"index": 8052
},
"end": {
"line": 313,
"line": 318,
"column": 3,
"index": 8016
"index": 8149
}
},
{
"id": "analytics.noip",
"defaultMessage": "!!!We <b>are not</b> recording IP addresses",
"file": "src/components/Analytics/Analytics.tsx",
"start": {
"line": 314,
"line": 319,
"column": 8,
"index": 8026
"index": 8159
},
"end": {
"line": 317,
"line": 322,
"column": 3,
"index": 8124
"index": 8257
}
},
{
"id": "analytics.nosell",
"defaultMessage": "!!!We <b>do not</b> sell data",
"file": "src/components/Analytics/Analytics.tsx",
"start": {
"line": 318,
"line": 323,
"column": 10,
"index": 8136
"index": 8269
},
"end": {
"line": 321,
"line": 326,
"column": 3,
"index": 8222
"index": 8355
}
},
{
"id": "analytics.more",
"defaultMessage": "!!!Learn more about user insights",
"file": "src/components/Analytics/Analytics.tsx",
"start": {
"line": 322,
"line": 327,
"column": 8,
"index": 8232
"index": 8365
},
"end": {
"line": 325,
"line": 330,
"column": 3,
"index": 8320
"index": 8453
}
},
{
"id": "analytics.skip",
"defaultMessage": "!!!Skip",
"file": "src/components/Analytics/Analytics.tsx",
"start": {
"line": 326,
"line": 331,
"column": 8,
"index": 8330
"index": 8463
},
"end": {
"line": 329,
"line": 334,
"column": 3,
"index": 8392
"index": 8525
}
},
{
"id": "analytics.accept",
"defaultMessage": "!!!Accept",
"file": "src/components/Analytics/Analytics.tsx",
"start": {
"line": 330,
"line": 335,
"column": 10,
"index": 8404
"index": 8537
},
"end": {
"line": 333,
"line": 338,
"column": 3,
"index": 8470
"index": 8603
}
},
{
"id": "analytics.toggle",
"defaultMessage": "!!!Allow Yoroi analytics",
"file": "src/components/Analytics/Analytics.tsx",
"start": {
"line": 334,
"line": 339,
"column": 10,
"index": 8482
"index": 8615
},
"end": {
"line": 337,
"line": 342,
"column": 3,
"index": 8563
"index": 8696
}
}
]

0 comments on commit b04e15a

Please sign in to comment.