Skip to content

Fit the Live Activity lock screen card on narrow screens - #775

Merged
marionbarker merged 1 commit into
devfrom
fix/la-lockscreen-narrow-width
Oct 16, 2026
Merged

marionbarker merged 1 commit into
devfrom
fix/la-lockscreen-narrow-width

Conversation

@bjorkert

@bjorkert bjorkert commented Oct 11, 2026 •

Copy link
Copy Markdown
Member

Fixes #744.

The lock screen card had fixed minimum widths (160 pt left column, 72 pt per metric) that added up to about 369 pt. With Display Zoom the lock screen is narrower than that, so the card overflowed and the glucose value and delta were cut off on the left. The left column and the metric grid now share the width, and the metric blocks can shrink below 72 pt. On wider phones the card looks about the same as before.

The left column and the metric grid used fixed minimum widths that needed
about 369 pt, so with Display Zoom the card was wider than the lock screen
and the glucose value and delta got cut off. They now share the available
width, and the metric blocks shrink below 72 pt when needed.

Fixes #744

@marionbarker marionbarker left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Without display zoom enabled, no difference with and without this modification.
With display zoom enabled, the LA does not fit on the SE screen without this PR.
✅ Tested on iOS 18 and iOS 27 phones.

@marionbarker
marionbarker merged commit 202a3cc into dev Oct 16, 2026
5 checks passed
@marionbarker
marionbarker deleted the fix/la-lockscreen-narrow-width branch October 16, 2026 21:42
kristinkand added a commit to kristinkand/LoopFollow that referenced this pull request Oct 17, 2026
Brings in the larger Snoozer text (loopandlearn#749), the APNS environment shown as info
(loopandlearn#776), and the final narrow-screen Live Activity fix (loopandlearn#775). Integration
already had loopandlearn#757, loopandlearn#764, loopandlearn#769 and remote meal edit/delete; for loopandlearn#762 it keeps
its own range-mode thresholds and the dynamic Live Activity colors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LgnnHLJbhxmQaEjQNYR5VZ
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.

Live Activity Lock Screen card is clipped with Display Zoom (larger display) enabled

2 participants