Forráskód Böngészése

Fix QR code content in my_identity view (#365)

`threemaId` is not defined, instead `identity` should be used
BlueC0re 7 éve
szülő
commit
b59d80d59b
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      src/directives/my_identity.ts

+ 2 - 2
src/directives/my_identity.ts

@@ -29,7 +29,7 @@ export default [
             controllerAs: 'ctrl',
             controller: [function() {
                 this.showQRCode = () => {
-                    let identity = this.identity;
+                    let identity: threema.Identity = this.identity;
                     $mdDialog.show({
                         controllerAs: 'ctrl',
                         controller: [function() {
@@ -41,7 +41,7 @@ export default [
                                 errorCorrectionLevel: 'L',
                                 size: '400px',
                                 data: '3mid:'
-                                + identity.threemaId
+                                + identity.identity
                                 + ','
                                 + u8aToHex(new Uint8Array(identity.publicKey)),
                             };