Minor cleanup

This commit is contained in:
Hinton 2020-10-12 18:03:16 +02:00
parent c80b538674
commit 44cd222626
2 changed files with 4 additions and 5 deletions

View File

@ -4,8 +4,8 @@ import IPC from './ipc';
const args = process.argv.slice(2);
class Proxy {
ipc: IPC;
nativeMessage: NativeMessage;
private ipc: IPC;
private nativeMessage: NativeMessage;
constructor() {
this.ipc = new IPC();

View File

@ -202,16 +202,15 @@ export class NativeMessagingService {
}
const response = await this.biometricMain.requestCreate();
if (response) {
this.send({command: 'biometricUnlock', response: 'unlocked'}, socket);
} else {
this.send({command: 'biometricUnlock', response: 'canceled'}, socket);
}
break;
default:
console.error("UNKNOWN COMMAND")
console.error('UNKNOWN COMMAND')
}
}
}