瀏覽代碼

bugfix: initial key generation

Carsten Porth 5 年之前
父節點
當前提交
7730d2760f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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: