diff --git a/src/main.rs b/src/main.rs index 45388c0..19d7792 100644 --- a/src/main.rs +++ b/src/main.rs @@ -229,7 +229,7 @@ fn spawn_poll_loop( std::thread::spawn(move || { loop { fetch_once(&client, &state, &weak); - std::thread::sleep(std::time::Duration::from_secs(5)); + std::thread::sleep(std::time::Duration::from_secs(30)); } }); } diff --git a/ui/main.slint b/ui/main.slint index b5064db..2ff600b 100644 --- a/ui/main.slint +++ b/ui/main.slint @@ -366,28 +366,6 @@ export component AppWindow inherits Window { vertical-alignment: center; } - Rectangle { - x: parent.width - 66px; - y: 19px; - width: 44px; - height: 44px; - border-width: 2px; - border-color: black; - background: close-touch.pressed ? black : white; - - close-touch := TouchArea { - clicked => { root.quit(); } - } - - Text { - text: "×"; - color: close-touch.pressed ? white : black; - font-size: 29px; - horizontal-alignment: center; - vertical-alignment: center; - } - } - if root.current-page == 0: Rectangle { x: 0; y: 84px;