Skip to content

Commit

Permalink
fix: update window actions to be async
Browse files Browse the repository at this point in the history
  • Loading branch information
cdrani committed May 6, 2024
1 parent 3c32460 commit 58c6064
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/title_bar/TitleBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
await invoke('update_history', { state })
}
const close = () => appWindow.close()
const close = async () => await appWindow.close()
const minimize = () => appWindow.minimize()
const minimize = async () => await appWindow.minimize()
const toggleMaximize = () => appWindow.toggleMaximize()
Expand Down

0 comments on commit 58c6064

Please sign in to comment.