summaryrefslogtreecommitdiffstats
path: root/native/src/command/action.rs
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/command/action.rs')
-rw-r--r--native/src/command/action.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/native/src/command/action.rs b/native/src/command/action.rs
index 39536f7d..342d0cfe 100644
--- a/native/src/command/action.rs
+++ b/native/src/command/action.rs
@@ -20,7 +20,7 @@ pub enum Action<T> {
Window(window::Action),
/// Run a system action.
- System(system::Action),
+ System(system::Action<T>),
}
impl<T> Action<T> {
@@ -38,7 +38,7 @@ impl<T> Action<T> {
Self::Future(future) => Action::Future(Box::pin(future.map(f))),
Self::Clipboard(action) => Action::Clipboard(action.map(f)),
Self::Window(window) => Action::Window(window),
- Self::System(system) => Action::System(system),
+ Self::System(system) => Action::System(system.map(f)),
}
}
}