Use store instead of store_builder in example

This commit is contained in:
Tony
2024-10-03 20:49:33 +08:00
parent f6a72ee2cb
commit 7723f48f39
2 changed files with 3 additions and 3 deletions
@@ -17,7 +17,7 @@ fn main() {
.plugin(tauri_plugin_store::Builder::new().build())
.setup(|app| {
// Init store and load it from disk
let store = app.handle().store_builder("settings.json").build().unwrap();
let store = app.store("settings.json");
app.listen("store://change", |event| {
dbg!(event);
});