v0.2.10
RustBox CI / rustbox (push) Canceled after 0s

This commit is contained in:
Mateusz Gruszczyński committed 2026-11-01 23:52:18 +01:00
1 parent a116890e20
commit 02d0b13ec1
24 files changed
+245 -93

No files matched your search

+3 -3
View File
@@ -458,10 +458,10 @@ function showApp() {
$("#app-view").classList.remove("hidden");
}
function finishAuthenticatedStartup() {
function finishAuthenticatedStartup({ showLoginToast = false } = {}) {
state.startupToastsMuted = false;
armRealtimeNotifications();
toast(tr("login_success", "Successfully logged in"), "success");
if (showLoginToast) toast(tr("login_success", "Successfully logged in"), "success");
}
function prepareAuthenticatedStartup() {
@@ -735,7 +735,7 @@ async function login(event) {
await loadTrustedSenders();
startCalendarReminderWatcher();
connectRealtime();
finishAuthenticatedStartup();
finishAuthenticatedStartup({ showLoginToast: true });
} catch (error) {
errorBox.textContent = error.message;
errorBox.classList.remove("hidden");