Fix merge errors

This commit is contained in:
Jonathan Kelley committed 2023-06-30 12:48:25 -07:00
1 parent dfb05540c3
commit 6512c153dd
4 files changed
+17 -17

No files matched your search

+1 -1
View File
@@ -1,5 +1,4 @@
use dioxus::prelude::*;
use dioxus_desktop::tao::keyboard::ModifiersState;
use dioxus_desktop::use_global_shortcut;
fn main() {
@@ -8,6 +7,7 @@ fn main() {
fn app(cx: Scope) -> Element {
let toggled = use_state(cx, || false);
use_global_shortcut(cx, "ctrl+s", {
to_owned![toggled];
move || toggled.modify(|t| !*t)