fix: Re-export api structs (#2515)

* fix: Re-export api structs

* whoops
This commit is contained in:
Fabian-Lars
2025-03-10 13:57:17 +01:00
committed by GitHub
parent e54cfcb261
commit a1b3fa27f1
8 changed files with 26 additions and 10 deletions
+2 -2
View File
@@ -21,9 +21,9 @@ mod models;
pub use error::{Error, Result};
#[cfg(desktop)]
use desktop::Geolocation;
pub use desktop::Geolocation;
#[cfg(mobile)]
use mobile::Geolocation;
pub use mobile::Geolocation;
/// Extensions to [`tauri::App`], [`tauri::AppHandle`], [`tauri::WebviewWindow`], [`tauri::Webview`] and [`tauri::Window`] to access the geolocation APIs.
pub trait GeolocationExt<R: Runtime> {