mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 15:50:16 +02:00
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. |
||
|---|---|---|
| .. | ||
| config | ||
| schemas/com.github.damontecres.wholphin.data.AppDatabase | ||
| src | ||
| .gitignore | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||