Skip to content

Commit 62a258f

Browse files
committed
fix mobile
1 parent cf90fca commit 62a258f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/opener/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,9 @@ impl Builder {
191191
let mut builder = tauri::plugin::Builder::<R, Option<config::Config>>::new("opener")
192192
.setup(|app, api| {
193193
#[cfg(target_os = "android")]
194-
let handle = _api.register_android_plugin(PLUGIN_IDENTIFIER, "OpenerPlugin")?;
194+
let handle = api.register_android_plugin(PLUGIN_IDENTIFIER, "OpenerPlugin")?;
195195
#[cfg(target_os = "ios")]
196-
let handle = _api.register_ios_plugin(init_plugin_opener)?;
196+
let handle = api.register_ios_plugin(init_plugin_opener)?;
197197

198198
app.manage(Opener {
199199
#[cfg(not(mobile))]

0 commit comments

Comments
 (0)