From 0ca186106d3c45ca95d8ca217e88525aeddec2d2 Mon Sep 17 00:00:00 2001 From: Suyash Patil <127177049+suyashpatil78@users.noreply.github.com> Date: Wed, 10 Jul 2024 16:26:13 +0530 Subject: [PATCH] fix: content changes for allow-us-number-only initiative (#3145) * fix: content changes for allow-us-number-only initiative * minor --- src/app/core/mock-data/task.data.ts | 2 +- src/app/core/services/tasks.service.ts | 2 +- src/app/fyle/my-profile/my-profile.page.ts | 2 +- .../update-mobile-number/update-mobile-number.component.scss | 1 + .../profile-opt-in-card/profile-opt-in-card.component.html | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/app/core/mock-data/task.data.ts b/src/app/core/mock-data/task.data.ts index 4105356132..c4773d527b 100644 --- a/src/app/core/mock-data/task.data.ts +++ b/src/app/core/mock-data/task.data.ts @@ -172,7 +172,7 @@ export const verifyMobileNumberTask = deepFreeze({ export const verifyMobileNumberTask2 = deepFreeze({ hideAmount: true, header: 'Update phone number to opt in to text receipts', - subheader: 'By updating mobile number to a +1 number, you will be eligible for opting into text messages.', + subheader: 'Add a +1 country code to your mobile number to receive text message receipts.', icon: TaskIcon.STARS, ctas: [ { diff --git a/src/app/core/services/tasks.service.ts b/src/app/core/services/tasks.service.ts index 46d60f6195..9999b9dc8b 100644 --- a/src/app/core/services/tasks.service.ts +++ b/src/app/core/services/tasks.service.ts @@ -546,7 +546,7 @@ export class TasksService { hideAmount: true, header: isInvalidUSNumber ? 'Update phone number to opt in to text receipts' : 'Opt in to text receipts', subheader: isInvalidUSNumber - ? 'By updating mobile number to a +1 number, you will be eligible for opting into text messages.' + ? 'Add a +1 country code to your mobile number to receive text message receipts.' : 'Opt-in to activate text messages for instant expense submission', icon: TaskIcon.STARS, ctas: [ diff --git a/src/app/fyle/my-profile/my-profile.page.ts b/src/app/fyle/my-profile/my-profile.page.ts index 22638736a7..3743526bfb 100644 --- a/src/app/fyle/my-profile/my-profile.page.ts +++ b/src/app/fyle/my-profile/my-profile.page.ts @@ -542,7 +542,7 @@ export class MyProfilePage { title: (eou.ou.mobile?.length ? 'Edit' : 'Add') + ' Mobile Number', inputLabel: 'Mobile Number', extendedOrgUser: eou, - placeholder: 'Enter mobile number', + placeholder: 'Enter mobile number e.g. +129586736556', }, cssClass: 'fy-dialog-popover', }); diff --git a/src/app/fyle/my-profile/update-mobile-number/update-mobile-number.component.scss b/src/app/fyle/my-profile/update-mobile-number/update-mobile-number.component.scss index 212b80e4b0..b1e5781bbc 100644 --- a/src/app/fyle/my-profile/update-mobile-number/update-mobile-number.component.scss +++ b/src/app/fyle/my-profile/update-mobile-number/update-mobile-number.component.scss @@ -4,6 +4,7 @@ &--toolbar { &__title { color: $black; + margin-left: -24px; } &__btn { diff --git a/src/app/shared/components/profile-opt-in-card/profile-opt-in-card.component.html b/src/app/shared/components/profile-opt-in-card/profile-opt-in-card.component.html index 2a10a059aa..82c14f9f5b 100644 --- a/src/app/shared/components/profile-opt-in-card/profile-opt-in-card.component.html +++ b/src/app/shared/components/profile-opt-in-card/profile-opt-in-card.component.html @@ -82,7 +82,7 @@