소스 검색

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: