Skip to content

Commit

Permalink
Add QR code button directly on profile
Browse files Browse the repository at this point in the history
  • Loading branch information
sondreb committed Oct 24, 2024
1 parent 2c36427 commit 5a39e8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion app/src/app/profile/profile.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ <h1>
<span>({{ data().profile.title }})</span>
}
</h1>
<span class="ellipsis">{{ data().did }}</span>
<span class="ellipsis"
><button class="copy-button" matTooltip="Show QR code" mat-icon-button (click)="showQR(data().did)">
<mat-icon>qr_code</mat-icon></button
>{{ data().did }}
</span>
</div>
<div class="spacer"></div>
<div class="profile-header-menu">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h2 mat-dialog-title>QR Code</h2>

<p class="wrap">
{{ data.did }}
<button class="copy-button" matTooltip="Copy the recovery phrase" mat-icon-button (click)="copyDid()">
<button class="copy-button" matTooltip="Copy the identifier" mat-icon-button (click)="copyDid()">
<mat-icon>content_copy</mat-icon>
</button>
</p>
Expand Down

0 comments on commit 5a39e8b

Please sign in to comment.