feat: refine settings feedback and controls

This commit is contained in:
objz committed 2026-09-04 15:34:05 +02:00
1 parent 45d9b85abf
commit 17aff8ec6d
8 files changed
+174 -57

No files matched your search

+9
View File
@@ -49,6 +49,15 @@ pub fn push_error(event: ErrorEvent) {
}
}
pub fn push_message(level: Level, message: impl Into<String>) {
push_error(ErrorEvent {
id: 0,
level,
message: message.into(),
pushed_at: Instant::now(),
});
}
#[must_use]
pub fn has_errors() -> bool {
match ERROR_EVENTS.lock() {