Skip to content

Commit

Permalink
fix: content changes for allow-us-number-only initiative (#3145)
Browse files Browse the repository at this point in the history
* fix: content changes for allow-us-number-only initiative

* minor
  • Loading branch information
suyashpatil78 authored Jul 10, 2024
1 parent d742653 commit 0ca1861
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/core/mock-data/task.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
{
Expand Down
2 changes: 1 addition & 1 deletion src/app/core/services/tasks.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
2 changes: 1 addition & 1 deletion src/app/fyle/my-profile/my-profile.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
&--toolbar {
&__title {
color: $black;
margin-left: -24px;
}

&__btn {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
<div class="profile-opt-in-card__divider"></div>
<div>
<div class="profile-opt-in-card__non-us-number-card" (click)="editMobileNumber()">
<span> By updating to a +1 mobile number, you will be eligible to opt into text messages. </span>
<span> Add a +1 country code to your mobile number to receive text message receipts. </span>
<span class="profile-opt-in-card__non-us-number-card__cta"> Update and Opt in </span>
</div>
</div>
Expand Down

0 comments on commit 0ca1861

Please sign in to comment.