Skip to content

Commit e4f199a

Browse files
tmmampagent
andauthored
fix(zbugs-swift): show the issue count in full on iPhone and iPad (#199)
The list's toolbar gave the count a few characters' width, so 16,155 read as "16…". At its fixed size it shows in full; macOS is unchanged. Amp-Thread-ID: https://ampcode.com/threads/T-09cae685-ab24-4553-a84f-3ace30fd7ad4 Co-authored-by: Amp <amp@ampcode.com>
1 parent d88d055 commit e4f199a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎apps/zbugs-swift/Sources/ZBugsUI/RootView.swift‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@
224224
IssueCount(filter: filter, list: issues)
225225
.foregroundStyle(.secondary)
226226
.monospacedDigit()
227+
// At its full width: an iPhone's or an iPad's navigation bar
228+
// otherwise gives it a few characters' width and truncates it.
229+
.fixedSize()
227230
}
228231
ToolbarItem {
229232
ConnectionBadge(connection: model.zero.connection)

0 commit comments

Comments
 (0)