Skip to content

Commit

Permalink
fix: fix password login screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilb committed Aug 30, 2024
1 parent 1e02dd8 commit f2ebce3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ window.setPassword = async (passPhrase, oldPhrase) =>
// called to verify that the password is correct when showing the recovery from seed modal
window.onTryPassword = async passPhrase =>
new Promise((resolve, reject) => {
ipcRenderer.once('password-recovery-phrase-response', (_event, error) => {
ipc.once('password-recovery-phrase-response', (_event, error) => {
if (error) {
return reject(error);
}
return resolve();
});
ipcRenderer.send('password-recovery-phrase', passPhrase);
ipc.send('password-recovery-phrase', passPhrase);
});

window.setStartInTray = async startInTray =>
Expand Down

0 comments on commit f2ebce3

Please sign in to comment.