|
@@ -630,15 +630,20 @@ class _NotificationPermissionPage extends StatelessWidget { |
|
@@ -630,15 +630,20 @@ class _NotificationPermissionPage extends StatelessWidget { |
|
630
|
child: Column(
|
630
|
child: Column(
|
|
631
|
children: [
|
631
|
children: [
|
|
632
|
OnboardingTitleText(
|
632
|
OnboardingTitleText(
|
|
633
|
- '${l10n.onboardingNotificationTitle}\n${l10n.onboardingNotificationSubtitle}',
|
633
|
+ l10n.onboardingNotificationSubtitle.isNotEmpty
|
|
|
|
634
|
+ ? '${l10n.onboardingNotificationTitle}\n${l10n.onboardingNotificationSubtitle}'
|
|
|
|
635
|
+ : l10n.onboardingNotificationTitle,
|
|
634
|
maxWidth: 320,
|
636
|
maxWidth: 320,
|
|
635
|
),
|
637
|
),
|
|
636
|
- const SizedBox(height: 8),
|
|
|
|
637
|
- Padding(
|
|
|
|
638
|
- padding: const EdgeInsets.symmetric(horizontal: 8),
|
|
|
|
639
|
- child: OnboardingBodyText(
|
|
|
|
640
|
- l10n.onboardingNotificationBody,
|
|
|
|
641
|
- fontSize: 14,
|
638
|
+ const SizedBox(height: 12),
|
|
|
|
639
|
+ SizedBox(
|
|
|
|
640
|
+ width: l10n.onboardingNotificationSubtitle.isNotEmpty ? 327 : 280,
|
|
|
|
641
|
+ child: Padding(
|
|
|
|
642
|
+ padding: const EdgeInsets.symmetric(horizontal: 8),
|
|
|
|
643
|
+ child: OnboardingBodyText(
|
|
|
|
644
|
+ l10n.onboardingNotificationBody,
|
|
|
|
645
|
+ fontSize: 14,
|
|
|
|
646
|
+ ),
|
|
642
|
),
|
647
|
),
|
|
643
|
),
|
648
|
),
|
|
644
|
const SizedBox(height: 20),
|
649
|
const SizedBox(height: 20),
|