Skip to content

Commit e03baeb

Browse files
Update info modal copy, alignment, and text color (#362)
1 parent 132a748 commit e03baeb

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

packages/reown_walletkit/example/lib/walletconnect_pay/wcp_modals/wcp_why_we_need_info.dart

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -75,41 +75,42 @@ class WCPWhyWeNeedInfoBody extends StatelessWidget {
7575
Widget build(BuildContext context) {
7676
final colors = context.colors;
7777
return Column(
78+
crossAxisAlignment: CrossAxisAlignment.start,
7879
children: [
7980
Text(
80-
'Why we need your information?',
81+
'Why do we collect personal details?',
8182
style: TextStyle(
8283
color: colors.textPrimary,
8384
fontSize: 20.0,
8485
fontWeight: FontWeight.w400,
8586
height: 1.0,
8687
),
87-
textAlign: TextAlign.center,
88+
textAlign: TextAlign.start,
8889
),
8990
const SizedBox(height: AppSpacing.s2),
9091
Text(
91-
'For regulatory compliance, we collect basic information on your '
92-
'first payment: full name, date of birth, and place of birth.',
92+
'To meet compliance requirements, some basic information is '
93+
'collected from WalletConnect Pay users.',
9394
style: TextStyle(
94-
color: colors.textTertiary,
95+
color: colors.textSecondary,
9596
fontSize: 16.0,
9697
fontWeight: FontWeight.w400,
9798
height: 1.125,
9899
),
99-
textAlign: TextAlign.center,
100+
textAlign: TextAlign.start,
100101
),
101102
const SizedBox(height: AppSpacing.s2),
102103
Text(
103-
'This information is tied to your wallet address and this specific '
104-
'network. If you use the same wallet on this network again, you '
105-
"won't need to provide it again.",
104+
'This is typically a one-time step\u2014if you use the same wallet '
105+
'on this network again, you won\'t need to provide the info again, '
106+
'unless your information changes.',
106107
style: TextStyle(
107-
color: colors.textTertiary,
108+
color: colors.textSecondary,
108109
fontSize: 16.0,
109110
fontWeight: FontWeight.w400,
110111
height: 1.125,
111112
),
112-
textAlign: TextAlign.center,
113+
textAlign: TextAlign.start,
113114
),
114115
],
115116
);

0 commit comments

Comments
 (0)