mirror of
https://github.com/chatmail/core.git
synced 2026-05-04 13:56:30 +03:00
unify events
This commit is contained in:
@@ -28,7 +28,7 @@ macro_rules! progress {
|
||||
$progress <= 1000,
|
||||
"value in range 0..1000 expected with: 0=error, 1..999=progress, 1000=success"
|
||||
);
|
||||
$context.emit_event($crate::events::Event::ConfigureProgress($progress));
|
||||
$context.emit_event($crate::events::EventType::ConfigureProgress($progress));
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user