pull/504/head
FabianLars 2 years ago
parent 7f1a9bbf87
commit 898d4b3273
No known key found for this signature in database
GPG Key ID: 838F329885A9C43D

@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
use tauri::{AppHandle, command, Runtime, Window, State}; use tauri::{command, AppHandle, Runtime, State, Window};
use crate::{DeepLink, Result}; use crate::{DeepLink, Result};
@ -10,7 +10,7 @@ use crate::{DeepLink, Result};
pub(crate) async fn get_current<R: Runtime>( pub(crate) async fn get_current<R: Runtime>(
_app: AppHandle<R>, _app: AppHandle<R>,
_window: Window<R>, _window: Window<R>,
deep_link: State<'_, DeepLink<R>> deep_link: State<'_, DeepLink<R>>,
) -> Result<Option<Vec<url::Url>>> { ) -> Result<Option<Vec<url::Url>>> {
deep_link.get_current() deep_link.get_current()
} }

Loading…
Cancel
Save