fix(apple/widgets): expanded island — End Session button hugs the bottom edge

Slack height in the bottom region now lands in a Spacer above the button
(frame maxHeight .infinity), so the action sits at the island's bottom edge
instead of floating mid-region.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-19 16:46:44 +02:00
co-authored by Claude Fable 5
parent 677a31acd7
commit ba1caf0281
@@ -65,8 +65,10 @@ struct PunktfunkSessionLiveActivity: Widget {
Spacer(minLength: 8)
StatsLine(state: context.state, showMode: false)
}
Spacer(minLength: 0) // any slack height goes here button hugs the bottom
EndButton(fullWidth: true)
}
.frame(maxHeight: .infinity)
.padding(.horizontal, 4)
.padding(.top, 6)
}