Browse Source

bugfix: initial key generation

Carsten Porth 5 years ago
parent
commit
7730d2760f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/src/pages/settings/settings.ts

+ 1 - 1
app/src/pages/settings/settings.ts

@@ -37,7 +37,7 @@ export class SettingsPage {
   }
 
   generateKeys() {
-    if (this.publicKey.length || this.privateKey.length) {
+    if (this.publicKey || this.privateKey) {
       const alert = this.alertCtrl.create({
         title: "Are you sure?",
         subTitle: