fix: add unit to mobile plugin arguments

This commit is contained in:
2025-10-21 16:56:06 +02:00
parent 1a5ab4f4d4
commit 845022ad6d

View File

@ -28,14 +28,14 @@ impl<R: Runtime> Duck<R> {
pub fn duck(&self) -> crate::Result<DuckResponse> {
self
.0
.run_mobile_plugin("duck")
.run_mobile_plugin("duck", Some(()))
.map_err(Into::into)
}
pub fn unduck(&self) -> crate::Result<DuckResponse> {
self
.0
.run_mobile_plugin("unduck")
.run_mobile_plugin("unduck", Some(()))
.map_err(Into::into)
}
}