Skip to content

refactor(settings): move the player appearance sheets into their own file - #2620

Merged
A-EDev merged 1 commit into
mainfrom
refactor/player-appearance-sheets
Dec 5, 2026
Merged

A-EDev merged 1 commit into
mainfrom
refactor/player-appearance-sheets

Conversation

@A-EDev

@A-EDev A-EDev commented Dec 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Moves the Player appearance preview sheets and their PreviewSheet enum from PlayerAppearanceScreen.kt into PlayerAppearanceSheets.kt; each sheet reads its current choice from the view model.
  • Keeps the screen file under the 400 line ceiling before the [Feature]: music player appearance nitpicks #2439 settings rows land. Nothing changes on screen.

Related issue

Part of #2439

Change type

  • Bug fix
  • Feature
  • Refactor or maintenance
  • Build, packaging, or CI
  • Documentation

Validation

  • ./gradlew :app:assembleGithubDebug: passed
  • ./gradlew :app:testGithubDebugUnitTest: passed (8131 tests, run with all the [Feature]: music player appearance nitpicks #2439 and [Feature]: Import playlists directly from Spotify #1553 PRs merged together)
  • I ran any additional flavor-specific build or test tasks affected by this change. ./gradlew :app:compileFossDebugKotlin and ./gradlew ktlintCheck passed
  • I manually tested the affected behavior on an Android device or emulator. Opened the background and Immersive look sheets in Player appearance.

Test device and Android version: Android emulator, API 37 phone image (1080x2400)

Screenshots or recordings

Risk and compatibility

No preference, network or playback change.

  • The change does not introduce secrets, private data, or unexpected telemetry.
  • New user-facing text uses Android string resources.
  • Dependency and lockfile changes are intentional and limited to this PR.
  • Room schema changes include the required version bump and migration, or this PR does not change the Room schema.
  • Breaking changes and upgrade steps are clearly documented.

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.

1 participant