mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-10-10 22:38:44 +02:00
feat: update setup hook to new syntax (#257)
This commit is contained in:
1 parent
738636472c
commit
22f987bf24
14 files changed
+384
-299
No files matched your search
@@ -409,7 +409,7 @@ impl Builder {
|
||||
let password_hash_function = self.password_hash_function;
|
||||
|
||||
PluginBuilder::new("stronghold")
|
||||
.setup(move |app| {
|
||||
.setup(move |app, _api| {
|
||||
app.manage(StrongholdCollection::default());
|
||||
app.manage(PasswordHashFunction(password_hash_function));
|
||||
Ok(())
|
||||
|
||||
Reference in new issue
Block a user