Skip to content

More playful play button#4677

Merged
kean merged 3 commits into
trunkfrom
update/miniplayer-play-button-glass
Jul 7, 2026
Merged

More playful play button#4677
kean merged 3 commits into
trunkfrom
update/miniplayer-play-button-glass

Conversation

@kean

@kean kean commented Jul 2, 2026

Copy link
Copy Markdown
Contributor
📘 Part of: #

Just a small suggestion to make it a bit more lively.

To test

  1. Run on an iOS 26 device/simulator with Liquid Glass.
  2. Start playing an episode so the mini player appears in the tab bar.
  3. Confirm the play/pause circle looks slightly translucent (tab bar glass shows through) and the glyph stays legible in both light and dark themes.
  4. Tap play/pause and confirm the button scales down and springs back with a bounce.
Screen.Recording.2026-07-02.at.9.50.52.PM.mov

Checklist

  • I have considered if this change warrants user-facing release notes and have added them to CHANGELOG.md if necessary.
  • I have considered adding unit tests for my changes.
  • I have updated (or requested that someone edit) the Event Horizon schema to reflect any new or changed analytics.

On the iOS 26 Liquid Glass mini player, make the play/pause circle slightly
translucent so the tab bar's glass shows through, and add a spring
scale-down-and-bounce-back on tap. Honors Reduce Motion.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@kean kean requested a review from a team as a code owner July 2, 2026 22:40
Copilot AI review requested due to automatic review settings July 2, 2026 22:40
@kean kean added this to the 8.16 milestone Jul 2, 2026
@kean kean added [Type] Enhancement Improve an existing feature. UI Related UI related issues (colors, icons, etc) labels Jul 2, 2026
@kean kean requested review from SergioEstevao and removed request for a team July 2, 2026 22:40
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@kean kean changed the title Add a springy, translucent play button to the Liquid Glass mini player More playful play button Jul 2, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the iOS 26 “Liquid Glass” mini player play/pause button styling and interaction to feel more glassy and tactile while keeping the legacy (pre‑iOS 26) mini player unchanged.

Changes:

  • Add a press-down + spring-back scale animation for the play/pause button on iOS 26.
  • Make the Liquid Glass play/pause accent circle slightly translucent so the tab bar glass shows through.
  • Add a user-facing entry to CHANGELOG.md.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
podcasts/MiniPlayerViewController.swift Adds iOS 26 Liquid Glass play/pause bounce interaction and applies a translucent accent circle color.
CHANGELOG.md Documents the Liquid Glass mini player play button translucency + bounce change for the 8.16 notes.

Comment on lines +232 to +247
@objc private func playButtonTouchedDown() {
guard !UIAccessibility.isReduceMotionEnabled else { return }
UIView.animate(withDuration: 0.12, delay: 0, options: [.allowUserInteraction, .beginFromCurrentState]) {
self.playPauseBtn.transform = CGAffineTransform(scaleX: 0.86, y: 0.86)
}
}

@objc private func playButtonReleased() {
guard !UIAccessibility.isReduceMotionEnabled else {
playPauseBtn.transform = .identity
return
}
UIView.animate(withDuration: 0.55, delay: 0, usingSpringWithDamping: 0.35, initialSpringVelocity: 0.7, options: [.allowUserInteraction, .beginFromCurrentState]) {
self.playPauseBtn.transform = .identity
}
}
Tint the skip back/forward glyphs with the same translucent accent color used
for the play button's background, so all three controls share one color.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@kean kean force-pushed the update/miniplayer-play-button-glass branch from 31a5846 to cb21ac2 Compare July 3, 2026 01:51

@SergioEstevao SergioEstevao left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

:shipit:

@kean kean merged commit ad54211 into trunk Jul 7, 2026
5 checks passed
@kean kean deleted the update/miniplayer-play-button-glass branch July 7, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Enhancement Improve an existing feature. UI Related UI related issues (colors, icons, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants