1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 03:33:54 +00:00

generate qr code locally

This commit is contained in:
Kyle Spearrin
2018-07-13 23:15:09 -04:00
parent 1da85c96cf
commit a1d52af0ba
5 changed files with 36 additions and 9 deletions

View File

@@ -49,8 +49,7 @@
</p>
<hr *ngIf="enabled">
<p class="text-center" [ngClass]="{'mb-0': enabled}">
<img [src]="qr" width="160" height="160" alt="">
<br>
<canvas id="qr"></canvas><br>
<code title="{{'key' | i18n}}">{{key}}</code>
</p>
<ng-container *ngIf="!enabled">