add tray icon, fix login if password changed

This commit is contained in:
2023-05-31 07:02:05 +02:00
parent 232043d686
commit 0a664d1f64
3 changed files with 56 additions and 7 deletions

View File

@@ -152,6 +152,16 @@ window.addEventListener('DOMContentLoaded', () => {
ipcRenderer.on('account_update', (event, data) => {
switch (data.type) {
case "login-failed":
console.log(data);
Swal.fire({
title: 'Uh oh!',
text: data.message,
icon: 'error',
confirmButtonText: 'Okay'
});
changePage("launch");
break;
case "not-loggedin":
changePage("launch");
break;