From 4b6ae55b7dcd34b45ee16d2159d0e8c44db57c31 Mon Sep 17 00:00:00 2001 From: Avii Date: Fri, 7 Aug 2026 14:57:13 +0200 Subject: [PATCH] 1786107433 --- src/main.rs | 2 +- ui/main.slint | 22 ---------------------- 2 files changed, 1 insertion(+), 23 deletions(-) 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;