Skip to content

Commit

Permalink
add QRCode display to wallet page
Browse files Browse the repository at this point in the history
  • Loading branch information
jongbonga authored and PiDelport committed Jul 12, 2021
1 parent 5e1bd1e commit 6eeddd9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
9 changes: 8 additions & 1 deletion web-client/src/app/views/wallet/wallet.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,18 @@ import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { QRCodeModule } from 'angularx-qrcode';
import { WalletPageRoutingModule } from './wallet-routing.module';
import { WalletPage } from './wallet.page';

@NgModule({
imports: [CommonModule, FormsModule, IonicModule, WalletPageRoutingModule],
imports: [
CommonModule,
FormsModule,
IonicModule,
WalletPageRoutingModule,
QRCodeModule,
],
declarations: [WalletPage],
})
export class WalletPageModule {}
7 changes: 7 additions & 0 deletions web-client/src/app/views/wallet/wallet.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,11 @@

<ion-content>
<ion-button routerLink="/wallet/send-funds"> Send Funds </ion-button>
<qrcode
qrdata="Nautilus"
elementType="svg"
[width]="250"
[margin]="1"
errorCorrectionLevel="H"
></qrcode>
</ion-content>

0 comments on commit 6eeddd9

Please sign in to comment.