diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-23 18:10:32 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-23 18:10:32 +1000 |
| commit | 21e1efd944f39c53c649348559550e18f6a9803b (patch) | |
| tree | 1bc762bc2e4dd19cae41ae0bae696ed6cf1fa528 /config/Config.qml | |
| parent | audio: audio device changed toasts (#684) (diff) | |
| download | caelestia-shell-21e1efd944f39c53c649348559550e18f6a9803b.tar.gz caelestia-shell-21e1efd944f39c53c649348559550e18f6a9803b.tar.bz2 caelestia-shell-21e1efd944f39c53c649348559550e18f6a9803b.zip | |
config: enable/disable specific toasts
Diffstat (limited to 'config/Config.qml')
| -rw-r--r-- | config/Config.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/Config.qml b/config/Config.qml index 8d54cf8..267a184 100644 --- a/config/Config.qml +++ b/config/Config.qml @@ -40,7 +40,8 @@ Singleton { onLoaded: { try { JSON.parse(text()); - Toaster.toast(qsTr("Config loaded"), qsTr("Config loaded in %1ms").arg(timer.elapsedMs()), "rule_settings"); + if (adapter.utilities.toasts.configLoaded) + Toaster.toast(qsTr("Config loaded"), qsTr("Config loaded in %1ms").arg(timer.elapsedMs()), "rule_settings"); } catch (e) { Toaster.toast(qsTr("Failed to load config"), e.message, "settings_alert", Toast.Error); } |