Launcher: the ping notice keeps its height; status lists the ping
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -188,7 +188,7 @@ impl Launcher {
|
||||
.child("Help make Horizon faster and steadier?"),
|
||||
)
|
||||
.child(text(theme::UI).text_color(t.muted).child(
|
||||
"Horizon can send a few things to its developers. Everything is off until you turn it on, and Settings can change it any time.",
|
||||
"Horizon can send a few things to its developers. Each switch is off until you turn it on, and Settings can change it any time.",
|
||||
))
|
||||
.child(
|
||||
div()
|
||||
|
||||
@@ -1706,9 +1706,11 @@ impl Launcher {
|
||||
_ => None,
|
||||
};
|
||||
let title = "Horizon";
|
||||
// Never squeezed by the rows below: the ping notice can make it tall.
|
||||
let mut hero =
|
||||
div()
|
||||
.flex()
|
||||
.flex_none()
|
||||
.flex_col()
|
||||
.gap(px(14.))
|
||||
.pt(px(24.))
|
||||
@@ -1782,9 +1784,11 @@ impl Launcher {
|
||||
hero = hero.child(
|
||||
plate(&t)
|
||||
.flex()
|
||||
.flex_none()
|
||||
.flex_col()
|
||||
.gap(px(8.))
|
||||
.p(px(16.))
|
||||
.w_full()
|
||||
.max_w(px(640.))
|
||||
.child(
|
||||
text(theme::UI)
|
||||
|
||||
@@ -278,6 +278,7 @@ pub fn status_json() -> serde_json::Value {
|
||||
"install_id": consent.install_id,
|
||||
"waiting": outbox::pending(&home()).len(),
|
||||
"server": horizon_telemetry::endpoint(),
|
||||
"ping": PING,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user