@@ -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: