macos: ax for update info

This commit is contained in:
Mitchell Hashimoto
2025-10-10 08:38:08 -07:00
parent 47f3c94640
commit 9dac88248f
2 changed files with 12 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ struct UpdatePill: View {
Text(model.text)
.font(Font(textFont))
.lineLimit(1)
.truncationMode(.tail)
.frame(width: textWidth)
}
.padding(.horizontal, 8)
@@ -66,6 +67,7 @@ struct UpdatePill: View {
}
.buttonStyle(.plain)
.help(model.text)
.accessibilityLabel(model.text)
}
/// Calculated width for the text to prevent resizing during progress updates