Skip to content

fix: add missing monospacedDigit to relative timer text#86

Merged
V3RON merged 4 commits intocallstackincubator:mainfrom
ludwig-pro:fix/timer-monospaced-digit
Mar 9, 2026
Merged

fix: add missing monospacedDigit to relative timer text#86
V3RON merged 4 commits intocallstackincubator:mainfrom
ludwig-pro:fix/timer-monospaced-digit

Conversation

@ludwig-pro
Copy link
Contributor

@ludwig-pro ludwig-pro commented Feb 17, 2026

Summary

  • Added missing .monospacedDigit() modifier to the relative style Text(targetDate, style: .relative) and static zero Text("0s") in VoltraTimer.swift
  • All other timer text views already applied this modifier, these two were inconsistent, causing digit widths to shift during countdown/stopwatch in relative mode
voltra screenshot 2026-02-17 11 02 21
voltra.recording.2026-02-17.11.02.16.mp4

Test plan

  • Verify relative-style timer displays with consistent digit widths
  • Verify completed timer ("0s") displays with monospaced digits
  • Confirm no visual regression on other timer styles (default, countdown)

Adds .monospacedDigit() modifier to relative style timer text and static zero text
to ensure consistent digit width rendering across all timer display modes. The other
timer text views already had this modifier applied.
@vercel
Copy link

vercel bot commented Feb 17, 2026

@ludwig-pro is attempting to deploy a commit to the Callstack Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@V3RON V3RON left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 👏

@V3RON V3RON changed the title fix(ios): add missing monospacedDigit to relative timer text fix: add missing monospacedDigit to relative timer text Mar 9, 2026
@V3RON V3RON merged commit b1efcad into callstackincubator:main Mar 9, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants