Skip to content

fix: enable BackHandler for album selection in LibraryScreen#2463

Open
Ayaanh001 wants to merge 1 commit into
PixelPlayerHQ:masterfrom
Ayaanh001:master
Open

fix: enable BackHandler for album selection in LibraryScreen#2463
Ayaanh001 wants to merge 1 commit into
PixelPlayerHQ:masterfrom
Ayaanh001:master

Conversation

@Ayaanh001

Copy link
Copy Markdown
Contributor

• Changed isAlbumSelectionMode to use derivedStateOf to ensure it is correctly tracked as a Compose state.

• This allows hasSelectionInCurrentTab to react to album selection changes, properly enabling the BackHandler.

• Fixed a bug where pressing the system back button while in album selection mode would close the app instead of clearing the selection.

• Changed isAlbumSelectionMode to use derivedStateOf to ensure it is correctly tracked as a Compose state.

• This allows hasSelectionInCurrentTab to react to album selection changes, properly enabling the BackHandler.

• Fixed a bug where pressing the system back button while in album selection mode would close the app instead of clearing the selection.
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