-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Q4-DISPLAY-EXACT-AMOUNT' into FYLE-86cx5qh03
- Loading branch information
Showing
149 changed files
with
2,513 additions
and
1,364 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+135 Bytes
(150%)
android/app/src/main/res/mipmap-mdpi/ic_launcher_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.4 KB
android/app/src/main/res/mipmap-mdpi/ic_launcher_new_splash_round.webp
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.62 KB
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_new_splash_round.webp
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+6.5 KB
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_new_splash_round.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
android/app/src/main/res/values/ic_launcher_new_splash_background.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="ic_launcher_new_splash_background">#220033</color> | ||
<color name="ic_launcher_new_splash_background">#FFFFFF</color> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,106 +1,116 @@ | ||
<div class="new-password"> | ||
<div> | ||
<ion-icon | ||
class="fy-icon new-password__back-icon" | ||
src="../../../assets/svg/arrow-tail-left.svg" | ||
(click)="redirectToSignIn()" | ||
></ion-icon> | ||
<ion-content scroll-y="false" class="no-keyboard-adjust"> | ||
<div class="new-password"> | ||
<div> | ||
<div class="new-password__form-header">Reset Password</div> | ||
<ion-icon | ||
class="fy-icon new-password__back-icon" | ||
src="../../../assets/svg/arrow-tail-left.svg" | ||
(click)="redirectToSignIn()" | ||
></ion-icon> | ||
<div> | ||
<form *ngIf="fg" [formGroup]="fg"> | ||
<div class="new-password__input-container"> | ||
<div | ||
class="new-password__text new-password__text-block" | ||
[ngClass]="{'new-password__text__invalid': fg.controls.password.touched && !fg.controls.password.valid}" | ||
> | ||
<div class="new-password__text-label">New password</div> | ||
<div class="new-password__password-container"> | ||
<input | ||
placeholder="Enter password" | ||
[required]="true" | ||
[type]="hide ? 'text': 'password'" | ||
class="new-password__text-input smartlook-show" | ||
formControlName="password" | ||
(focus)="setPasswordTooltip(true)" | ||
(blur)="setPasswordTooltip(false)" | ||
/> | ||
<div class="new-password__password-icon-container" matSuffix (click)="hide = !hide"> | ||
<ion-icon | ||
class="fy-icon new-password__password-icon" | ||
src="{{hide ? '/assets/svg/eye.svg' : '/assets/svg/eye-slash.svg'}}" | ||
></ion-icon> | ||
<div class="new-password__form-header">Reset password</div> | ||
<div> | ||
<form *ngIf="fg" [formGroup]="fg"> | ||
<div class="new-password__input-container"> | ||
<div | ||
class="new-password__text new-password__text-block" | ||
[ngClass]="{'new-password__text__invalid': fg.controls.password.touched && !fg.controls.password.valid}" | ||
> | ||
<div class="new-password__text-label">New password</div> | ||
<div class="new-password__password-container"> | ||
<input | ||
placeholder="Enter password" | ||
[required]="true" | ||
[type]="hide ? 'password': 'text'" | ||
class="new-password__text-input smartlook-show" | ||
formControlName="password" | ||
(focus)="setPasswordTooltip(true)" | ||
(blur)="setPasswordTooltip(false)" | ||
/> | ||
<div class="new-password__password-icon-container" matSuffix (click)="hide = !hide"> | ||
<ion-icon | ||
class="fy-icon new-password__password-icon" | ||
src="{{hide ? '/assets/svg/eye-slash.svg' : '/assets/svg/eye.svg'}}" | ||
></ion-icon> | ||
</div> | ||
</div> | ||
<app-password-check-tooltip | ||
*ngIf="showPasswordTooltip" | ||
[password]="fg.controls.password.value" | ||
(isPasswordValid)="onPasswordValid($event)" | ||
></app-password-check-tooltip> | ||
</div> | ||
<div | ||
*ngIf="fg.controls.password.touched && fg.controls.password.invalid && fg.controls.password.errors.required" | ||
class="new-password__error" | ||
> | ||
Password cannot be empty | ||
</div> | ||
<div | ||
*ngIf="fg.controls.password.touched && fg.controls.password.invalid && fg.controls.password.errors.invalidPassword && !fg.controls.password.errors.required" | ||
class="new-password__error" | ||
> | ||
Please enter a valid password. | ||
</div> | ||
<app-password-check-tooltip | ||
*ngIf="showPasswordTooltip" | ||
[password]="fg.controls.password.value" | ||
(isPasswordValid)="onPasswordValid($event)" | ||
></app-password-check-tooltip> | ||
</div> | ||
<div | ||
*ngIf="fg.controls.password.touched && fg.controls.password.invalid && fg.controls.password.errors.required" | ||
class="new-password__error" | ||
> | ||
Password cannot be empty | ||
</div> | ||
<div | ||
*ngIf="fg.controls.password.touched && fg.controls.password.invalid && fg.controls.password.errors.invalidPassword && !fg.controls.password.errors.required" | ||
class="new-password__error" | ||
> | ||
Please enter a valid password. | ||
</div> | ||
</div> | ||
<div class="new-password__input-container"> | ||
<div | ||
class="new-password__text new-password__text-block" | ||
[ngClass]="{'new-password__text__invalid': fg.controls.confirmPassword.touched && !fg.controls.confirmPassword.valid}" | ||
> | ||
<div class="new-password__text-label">Confirm new password</div> | ||
<div class="new-password__password-container"> | ||
<input | ||
placeholder="Re-enter password" | ||
[required]="true" | ||
[type]="hideConfirmPassword ? 'text': 'password'" | ||
class="new-password__text-input smartlook-show" | ||
formControlName="confirmPassword" | ||
/> | ||
<div | ||
class="new-password__password-icon-container" | ||
matSuffix | ||
(click)="hideConfirmPassword = !hideConfirmPassword" | ||
> | ||
<ion-icon | ||
class="fy-icon new-password__password-icon" | ||
src="{{hideConfirmPassword ? '/assets/svg/eye.svg' : '/assets/svg/eye-slash.svg'}}" | ||
></ion-icon> | ||
<div class="new-password__input-container"> | ||
<div | ||
class="new-password__text new-password__text-block" | ||
[ngClass]="{'new-password__text__invalid': fg.controls.confirmPassword.touched && !fg.controls.confirmPassword.valid}" | ||
> | ||
<div class="new-password__text-label">Confirm new password</div> | ||
<div class="new-password__password-container"> | ||
<input | ||
placeholder="Re-enter password" | ||
[required]="true" | ||
[type]="hideConfirmPassword ? 'password' : 'text'" | ||
class="new-password__text-input smartlook-show" | ||
formControlName="confirmPassword" | ||
/> | ||
<div | ||
class="new-password__password-icon-container" | ||
matSuffix | ||
(click)="hideConfirmPassword = !hideConfirmPassword" | ||
> | ||
<ion-icon | ||
class="fy-icon new-password__password-icon" | ||
src="{{hideConfirmPassword ? '/assets/svg/eye-slash.svg' : '/assets/svg/eye.svg' }}" | ||
></ion-icon> | ||
</div> | ||
</div> | ||
</div> | ||
<div | ||
*ngIf="fg.controls.confirmPassword.touched && fg.controls.confirmPassword.invalid && fg.controls.confirmPassword.errors.required" | ||
class="new-password__error" | ||
> | ||
Password cannot be empty | ||
</div> | ||
<div | ||
*ngIf="fg.controls.confirmPassword.touched && fg.controls.confirmPassword.invalid && fg.controls.confirmPassword.errors.passwordMismatch" | ||
class="new-password__error" | ||
> | ||
Passwords do not match | ||
</div> | ||
</div> | ||
<div | ||
*ngIf="fg.controls.confirmPassword.touched && fg.controls.confirmPassword.invalid && fg.controls.confirmPassword.errors.required" | ||
class="new-password__error" | ||
> | ||
Password cannot be empty | ||
</div> | ||
<div | ||
*ngIf="fg.controls.confirmPassword.touched && fg.controls.confirmPassword.invalid && fg.controls.confirmPassword.errors.passwordMismatch" | ||
class="new-password__error" | ||
> | ||
Passwords do not match | ||
</div> | ||
</div> | ||
</form> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div *ngIf="fg"> | ||
<ion-button (click)="changePassword()" class="btn-primary" fill="clear" [disabled]="!fg.valid"> | ||
Reset password | ||
</ion-button> | ||
<div class="new-password__cta-secondary" (click)="redirectToSignIn()"> | ||
<ion-icon class="new-password__arrow-icon" [src]="'/assets/svg/arrow-left.svg'" slot="icon-only"></ion-icon> | ||
<span class="new-password__cta-text">Back to Sign In</span> | ||
<div *ngIf="fg"> | ||
<ion-button | ||
(click)="changePassword()" | ||
class="btn-primary" | ||
fill="clear" | ||
[disabled]="!fg.valid" | ||
appFormButtonValidation | ||
[loading]="isLoading" | ||
[loadingText]="'Resetting'" | ||
> | ||
Reset password | ||
</ion-button> | ||
<div class="new-password__cta-secondary" (click)="redirectToSignIn()"> | ||
<ion-icon class="new-password__arrow-icon" [src]="'/assets/svg/arrow-left.svg'" slot="icon-only"></ion-icon> | ||
<span class="new-password__cta-text">Back to sign in</span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</ion-content> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.