Skip to content

Little fixes everywhere 5#1038

Merged
theovilardo merged 3 commits intomasterfrom
little-fixes-everywhere-5
Feb 11, 2026
Merged

Little fixes everywhere 5#1038
theovilardo merged 3 commits intomasterfrom
little-fixes-everywhere-5

Conversation

@theovilardo
Copy link
Copy Markdown
Owner

No description provided.

- **Recently Played Section**:
    - The section on the home screen is now only displayed if there are at least 4 recently played songs, preventing it from showing with too few items.
    - Implemented a more balanced algorithm for distributing song pills across the three rows, ensuring a more staggered and visually appealing layout.
    - The logic for determining pill widths has been simplified by removing the row-based stagger offset.
    - Added `key()` to each pill to improve performance and state management during recomposition.

- **Recently Played Screen**:
    - Updated the font style for the screen title, adjusting weight and width for a bolder appearance.
    - Refined the time range filter chips with new colors, increased height, and adjusted icon padding for better visual hierarchy.

- **Data Handling**:
    - The playback history is now sorted first by timestamp (descending) and then by song ID (ascending) to ensure a stable, deterministic order for deduplication.

- **UI Polish**:
    - Vertically centered the content within the `BottomToggleRow` component in the full player for improved alignment.
    - Adjusted padding on the `RecentlyPlayedPill` to correctly calculate the album art's position.
…sion

- **PlayerViewModel**: Implement logic to disconnect remote playback when dismissing the player. This ensures that if a Cast session is active or connecting, it is terminated along with the local player state.
- **CastTransferStateHolder**:
    - Add `skipNextTransferBack()` to allow one-shot disconnection of Cast without restoring the remote queue to the local player.
    - Update `stopServerAndTransferBack()` to respect the `skipTransferBackOnNextSessionEnd` flag, skipping the heavy queue rebuilding and local player synchronization logic when requested.
    - Ensure the skip flag is reset after use and during cleanup.
- **Settings**:
    - Add "Show player file info" toggle to `SettingsCategoryScreen` to control the visibility of codec, bitrate, and sample rate.
    - Relocate "Player Gestures" subsection from the appearance category to the behavior category for better organization.
- **Player UI**:
    - Update `FullPlayerContent` to conditionally display the audio metadata chip based on the new user preference.
    - Synchronize loading placeholders to respect the file info visibility setting.
- **Data & State**:
    - Introduce `FULL_PLAYER_SHOW_FILE_INFO` key in `UserPreferencesRepository` to persist the preference.
    - Expose `showPlayerFileInfo` state in `PlayerViewModel` and `SettingsViewModel`.
@theovilardo theovilardo merged commit 522ee0c into master Feb 11, 2026
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