|
...
|
...
|
@@ -630,15 +630,20 @@ class _NotificationPermissionPage extends StatelessWidget { |
|
|
|
child: Column(
|
|
|
|
children: [
|
|
|
|
OnboardingTitleText(
|
|
|
|
'${l10n.onboardingNotificationTitle}\n${l10n.onboardingNotificationSubtitle}',
|
|
|
|
l10n.onboardingNotificationSubtitle.isNotEmpty
|
|
|
|
? '${l10n.onboardingNotificationTitle}\n${l10n.onboardingNotificationSubtitle}'
|
|
|
|
: l10n.onboardingNotificationTitle,
|
|
|
|
maxWidth: 320,
|
|
|
|
),
|
|
|
|
const SizedBox(height: 8),
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.symmetric(horizontal: 8),
|
|
|
|
child: OnboardingBodyText(
|
|
|
|
l10n.onboardingNotificationBody,
|
|
|
|
fontSize: 14,
|
|
|
|
const SizedBox(height: 12),
|
|
|
|
SizedBox(
|
|
|
|
width: l10n.onboardingNotificationSubtitle.isNotEmpty ? 327 : 280,
|
|
|
|
child: Padding(
|
|
|
|
padding: const EdgeInsets.symmetric(horizontal: 8),
|
|
|
|
child: OnboardingBodyText(
|
|
|
|
l10n.onboardingNotificationBody,
|
|
|
|
fontSize: 14,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
const SizedBox(height: 20),
|
...
|
...
|
|