fix(geo/haptics): Fix serde import error with specta feature disabled (#2323)

This commit is contained in:
Fabian-Lars
2025-01-15 13:28:40 +01:00
committed by GitHub
parent b63d724e85
commit 406e6f484c
4 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ pub enum Error {
#[cfg(mobile)]
#[error(transparent)]
PluginInvoke(
#[serde(skip)]
#[cfg_attr(feature = "specta", serde(skip))]
#[from]
tauri::plugin::mobile::PluginInvokeError,
),
+1 -1
View File
@@ -14,7 +14,7 @@ pub enum Error {
#[cfg(mobile)]
#[error(transparent)]
PluginInvoke(
#[serde(skip)]
#[cfg_attr(feature = "specta", serde(skip))]
#[from]
tauri::plugin::mobile::PluginInvokeError,
),