Skip to content

Fix cast disconnect freeze 8074422513415077628#584

Merged
theovilardo merged 18 commits intomasterfrom
fix-cast-disconnect-freeze-8074422513415077628
Dec 19, 2025
Merged

Fix cast disconnect freeze 8074422513415077628#584
theovilardo merged 18 commits intomasterfrom
fix-cast-disconnect-freeze-8074422513415077628

Conversation

@theovilardo
Copy link
Copy Markdown
Owner

No description provided.

theovilardo and others added 18 commits December 18, 2025 16:51
Refactored `MediaFileHttpServerService.onDestroy` to stop the Ktor Netty server on a background thread. Previously, the `server.stop()` call was blocking the main thread for up to 2 seconds, causing the UI to freeze during Cast disconnection.
- Replaces the animated width of the Cast button in the `FullPlayerContent` with `animateContentSize` for a smoother transition when the label is shown or hidden.
- Adjusts the maximum width of the Cast button to prevent text overflow.
- Makes the "Nearby devices" header in the `CastBottomSheet` a `stickyHeader` for improved usability while scrolling.
- Corrects the text color on the Library screen's filter pills to use `onPrimaryContainer` for better contrast.
- Removes unused code and comments from `CastBottomSheet` and `LibraryScreen`.
@theovilardo theovilardo merged commit fe777b9 into master Dec 19, 2025
@lostf1sh lostf1sh deleted the fix-cast-disconnect-freeze-8074422513415077628 branch January 16, 2026 20:40
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