Skip to content
Snippets Groups Projects
Commit d5d706cc authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] Add pubkey checksum in QRCode and pubkey's icon (on mobile device)

parent 7c5247b4
No related branches found
No related tags found
No related merge requests found
Pipeline #11405 failed
......@@ -3,12 +3,17 @@
ng-class="{'active': toggleQRCode}"
ng-click="toggleQRCode = !toggleQRCode">
<div class="content"></div>
<div class="footer item item-icon-left item-text-wrap ink"
<div class="footer item item-icon-left item-text-wrap item-icon-right ink"
ng-if="toggleQRCode"
on-hold="copy(formData.pubkey)"
copy-on-click="{{:rebind:formData.pubkey}}"
copy-on-click="{{::formData.pubkey|formatPubkey:{full: true, checksum: formData.checksum} }}"
ng-click="$event.stopPropagation()">
<i class="icon ion-key"></i>
<span>{{:locale:'COMMON.PUBKEY'|translate}}</span>
<h4 id="pubkey" class="dark">{{:rebind:formData.pubkey}}</h4>
<h4 class="dark text-left">{{::formData.pubkey|formatPubkey: {full: true, checksum: formData.checksum} }}</h4>
<!-- icon of the pubkey -->
<i class="icon" jdenticon="{{::formData.pubkey}}" jdenticon-size="32"></i>
</div>
</a>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment