Add toasts & tooltips to a lot of things, add Disk Usage

This commit is contained in:
Ly-sec 2025-09-09 13:08:48 +02:00
parent fdfe9ea2e1
commit 94d64a91b8
12 changed files with 102 additions and 6 deletions

View file

@ -23,6 +23,11 @@ Singleton {
// Re-apply current scheme to pick the right variant
applyScheme(Settings.data.colorSchemes.predefinedScheme)
}
// Toast: dark/light mode switched
const enabled = !!Settings.data.colorSchemes.darkMode
const label = enabled ? "Dark Mode" : "Light Mode"
const description = enabled ? "Enabled" : "Enabled"
ToastService.showNotice(label, description)
}
}