Explorar o código

bugfix: initial key generation

Carsten Porth %!s(int64=5) %!d(string=hai) anos
pai
achega
7730d2760f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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: