mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-06 13:53:54 +02:00
feat: update setup hook to new syntax (#257)
This commit is contained in:
committed by
GitHub
parent
738636472c
commit
22f987bf24
@@ -35,7 +35,7 @@ struct Scope {
|
||||
|
||||
pub fn init<R: Runtime>() -> TauriPlugin<R> {
|
||||
Builder::new("persisted-scope")
|
||||
.setup(|app| {
|
||||
.setup(|app, _api| {
|
||||
let fs_scope = app.fs_scope();
|
||||
#[cfg(feature = "protocol-asset")]
|
||||
let asset_protocol_scope = app.asset_protocol_scope();
|
||||
|
||||
Reference in New Issue
Block a user