File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed
Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1414 </ form >
1515
1616 < app-social-login-button
17+ *ngIf ="!isIOS "
1718 [buttonText] ="t('continueWithGoogle') "
1819 > </ app-social-login-button >
1920
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { UntypedFormGroup } from '@angular/forms';
44import { MatSnackBar } from '@angular/material/snack-bar' ;
55import { ActivatedRoute , Router } from '@angular/router' ;
66import { AlertController } from '@ionic/angular' ;
7+ import { Capacitor } from '@capacitor/core' ;
78import { TranslocoService } from '@ngneat/transloco' ;
89import { UntilDestroy , untilDestroyed } from '@ngneat/until-destroy' ;
910import { FormlyFieldConfig } from '@ngx-formly/core' ;
@@ -37,6 +38,8 @@ export class LoginPage {
3738
3839 showResendEmailButton = false ;
3940
41+ readonly isIOS = Capacitor . getPlatform ( ) === 'ios' ;
42+
4043 constructor (
4144 private readonly blockingActionService : BlockingActionService ,
4245 private readonly diaBackendAuthService : DiaBackendAuthService ,
Original file line number Diff line number Diff line change 1818 </ form >
1919
2020 < app-social-login-button
21+ *ngIf ="!isIOS "
2122 [buttonText] ="t('continueWithGoogle') "
2223 > </ app-social-login-button >
2324
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import { HttpErrorResponse } from '@angular/common/http';
22import { Component } from '@angular/core' ;
33import { UntypedFormGroup } from '@angular/forms' ;
44import { Router } from '@angular/router' ;
5+ import { Capacitor } from '@capacitor/core' ;
56import { TranslocoService } from '@ngneat/transloco' ;
67import { UntilDestroy , untilDestroyed } from '@ngneat/until-destroy' ;
78import { FormlyFieldConfig } from '@ngx-formly/core' ;
@@ -31,6 +32,8 @@ export class SignupPage {
3132
3233 fields : FormlyFieldConfig [ ] = [ ] ;
3334
35+ readonly isIOS = Capacitor . getPlatform ( ) === 'ios' ;
36+
3437 constructor (
3538 private readonly blockingActionService : BlockingActionService ,
3639 private readonly diaBackendAuthService : DiaBackendAuthService ,
You can’t perform that action at this time.
0 commit comments