fix typo on ipcMain listeners
This commit is contained in:
parent
7d35e998ec
commit
f0f9fb8f0a
1 changed files with 4 additions and 4 deletions
|
@ -329,14 +329,14 @@ ipcMain.on('get-password', event => {
|
|||
ipcMain.on('set-password', (event, password) => {
|
||||
if (password || password === '') {
|
||||
keytar.setPassword('LBRY', 'wallet_password', password).then(res => {
|
||||
event.sender.send('get-password-response', res);
|
||||
event.sender.send('set-password-response', res);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
ipcMain.on('delete-password', (event, password) => {
|
||||
keytar.deletePassword('LBRY', 'wallet_password', password).then(res => {
|
||||
event.sender.send('get-password-response', res);
|
||||
ipcMain.on('delete-password', event => {
|
||||
keytar.deletePassword('LBRY', 'wallet_password').then(res => {
|
||||
event.sender.send('delete-password-response', res);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue