plugins-workspace icon indicating copy to clipboard operation
plugins-workspace copied to clipboard

[bug] cannot find function `with_store` in crate `tauri_plugin_store`

Open nooblyf opened this issue 1 year ago • 0 comments

After updating tauri-plugin-store from release candidate to v2.0.1 i'm getting this error on rust side

tauri_plugin_store::with_store(app_handle, stores, app_data_dir, |store| {
    return Ok(store
            .get("my_key")
            .and_then(|value| {
                ...
            }
        );
}
tauri_plugin_store::with_store(app_handle, stores, app_data_dir, |store| {
   |                ^^^^^^^^^^ not found in `tauri_plugin_store`

nooblyf avatar Oct 09 '24 06:10 nooblyf