mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-22 21:30:44 +02:00
chore(window-state): readme typo (#290)
This commit is contained in:
@@ -38,7 +38,7 @@ fn main() {
|
|||||||
|
|
||||||
Afterwards all windows will remember their state when the app is being closed and will restore to their previous state on the next launch.
|
Afterwards all windows will remember their state when the app is being closed and will restore to their previous state on the next launch.
|
||||||
|
|
||||||
Optionally you can also tell the plugin to save the state of all open window to disk my using the `save_window_state()` method exposed by the `AppHandleExt` trait:
|
Optionally you can also tell the plugin to save the state of all open window to disk by using the `save_window_state()` method exposed by the `AppHandleExt` trait:
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
use tauri_plugin_window_state::{AppHandleExt, StateFlags};
|
use tauri_plugin_window_state::{AppHandleExt, StateFlags};
|
||||||
|
|||||||
Reference in New Issue
Block a user