@@ -6,6 +6,7 @@ import { DomSanitizer } from '@angular/platform-browser';
66import { Router } from '@angular/router' ;
77import { Browser } from '@capacitor/browser' ;
88import { Clipboard } from '@capacitor/clipboard' ;
9+ import { Platform } from '@ionic/angular' ;
910import { TranslocoService } from '@ngneat/transloco' ;
1011import { UntilDestroy , untilDestroyed } from '@ngneat/until-destroy' ;
1112import { NgxQrcodeElementTypes } from '@techiediaries/ngx-qrcode' ;
@@ -50,6 +51,7 @@ export class WalletsPage {
5051 readonly networkConnected$ = this . diaBackendWalletService . networkConnected$ ;
5152
5253 elementType = NgxQrcodeElementTypes . URL ;
54+ shouldHideDepositButton = false ;
5355
5456 constructor (
5557 private readonly diaBackendWalletService : DiaBackendWalletService ,
@@ -62,7 +64,8 @@ export class WalletsPage {
6264 private readonly confirmAlert : ConfirmAlert ,
6365 private readonly dialog : MatDialog ,
6466 private readonly errorService : ErrorService ,
65- private readonly router : Router
67+ private readonly router : Router ,
68+ private readonly platform : Platform
6669 ) {
6770 this . matIconRegistry . addSvgIcon (
6871 'wallet' ,
@@ -80,6 +83,8 @@ export class WalletsPage {
8083 untilDestroyed ( this )
8184 )
8285 . subscribe ( totalBalance => this . totalBalance$ . next ( totalBalance ) ) ;
86+
87+ this . shouldHideDepositButton = this . platform . is ( 'ios' ) ;
8388 }
8489
8590 // eslint-disable-next-line class-methods-use-this
0 commit comments