Wholphin/app/src/main
JustinZeus c82d36794f
Fix bottom padding in playback controls (#1422)
Fixes #1396.

The else branch of `when (nextState)` in PlaybackController added a 32dp
Spacer that left empty space below the controls when there were no
chapters or queue.

Possible follow-up: Pentaphon's idea of a "similar items" row in that
empty slot. Happy to put up a separate PR if useful.

## Testing

Verified on an Android TV (1080p) AVD running API 34 by playing a movie
with no chapters and no next-up item. With the fix, the bottom of the
control overlay sits the expected 8dp from the screen edge (the existing
parent padding). Also rebuilt without the fix and compared back-to-back
to confirm the Spacer was the cause.

The CHAPTERS and QUEUE branches were not modified.

## Screenshot
<img width="1920" height="1080" alt="case1-controls"
src="https://github.com/user-attachments/assets/18f50a87-a373-4f48-a9d4-f3c2a5cb2c00"
/>

## AI or LLM usage

I used Claude to help identify the file containing the bug and to
suggest the fix. I reviewed the diff before committing.
2026-05-21 12:43:49 -04:00
..
assets Add experimental MPV player backend (#161) 2025-11-16 18:46:25 -05:00
java/com/github/damontecres/wholphin Fix bottom padding in playback controls (#1422) 2026-05-21 12:43:49 -04:00
proto Customize which ratings to display (#1407) 2026-05-20 12:40:58 -04:00
res Customize which ratings to display (#1407) 2026-05-20 12:40:58 -04:00
seerr Updates to Seerr image fetching (#1086) 2026-03-14 16:47:08 -04:00
AndroidManifest.xml Enable large heap (#1337) 2026-05-01 19:12:23 -04:00
ic_launcher-playstore.png Add icons 2025-10-12 17:41:54 -04:00