Fix watch home view header buttons visibility (#3908)

<!-- Thank you for submitting a Pull Request and helping to improve Home
Assistant. Please complete the following sections to help the processing
and review of your changes. Please do not delete anything from this
template. -->

## Summary
<!-- Provide a brief summary of the changes you have made and most
importantly what they aim to achieve -->
Fixes the visibility and layout of the header buttons in the Watch Home
view, ensuring they display correctly across watchOS versions.

## Screenshots
<!-- If this is a user-facing change not in the frontend, please include
screenshots in light and dark mode. -->
<img width="416" height="496" alt="Simulator Screenshot - Watch with
iPhone - 2025-10-23 at 13 16 55"
src="https://github.com/user-attachments/assets/08e2ad70-4cf9-4e29-94c1-f0871f625fbc"
/>



## Link to pull request in Documentation repository
<!-- Pull requests that add, change or remove functionality must have a
corresponding pull request in the Companion App Documentation repository
(https://github.com/home-assistant/companion.home-assistant). Please add
the number of this pull request after the "#" -->
Documentation: home-assistant/companion.home-assistant#

## Any other notes
<!-- If there is any other information of note, like if this Pull
Request is part of a bigger change, please include it here. -->
This commit is contained in:
Bruno Pantaleão Gonçalves
2025-10-23 15:17:24 +02:00
committed by GitHub
parent d205a9a46e
commit 5232fe7ea5
3 changed files with 45 additions and 53 deletions

View File

@@ -14,18 +14,20 @@ public enum DesignSystem {
public static let title3: SwiftUICore.Font = .title3
/// Headline (17pt, semibold)
public static let headline: SwiftUICore.Font = .headline
/// Subheadline (15pt)
public static let subheadline: SwiftUICore.Font = .subheadline
/// Body (17pt)
public static let body: SwiftUICore.Font = .body
/// Callout (16pt)
public static let callout: SwiftUICore.Font = .callout
/// Subheadline (15pt)
public static let subheadline: SwiftUICore.Font = .subheadline
/// Footnote (13pt)
public static let footnote: SwiftUICore.Font = .footnote
/// Caption (12pt)
public static let caption: SwiftUICore.Font = .caption
/// Caption2 (11pt)
public static let caption2: SwiftUICore.Font = .caption2
/// Caption3 (10pt)
public static let caption3: SwiftUICore.Font = .system(size: 10)
}
// 8-point system