1786107433
This commit is contained in:
@@ -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));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user