Skip to content

Conversation

@And3e
Copy link

@And3e And3e commented Dec 3, 2025

What does this PR do?
This PR fixes a bug in SettingsViewModel.kt where changing the Video Download Quality setting would incorrectly update the Video Playback Quality setting.

Description of changes:

  • Updated the setVideoDownloadQuality function to call dataStoreManager.setVideoDownloadQuality instead of setVideoQuality.
  • Removed the call to getVideoQuality() (which refreshed the playback quality state) and ensured only getVideoDownloadQuality() is called to update the UI.
  • The two settings now function independently as intended.

Copilot AI review requested due to automatic review settings December 3, 2025 16:07
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a critical bug where changing the Video Download Quality setting would incorrectly update the Video Playback Quality setting. The fix ensures both settings now operate independently.

  • Corrected the setVideoDownloadQuality function to call the appropriate dataStore method
  • Removed redundant nested coroutine scope and incorrect state update call
  • The two quality settings are now properly decoupled

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@maxrave-dev maxrave-dev changed the base branch from main to dev December 10, 2025 02:04
@maxrave-dev maxrave-dev merged commit 421986f into maxrave-dev:dev Dec 10, 2025
9 of 11 checks passed
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.

2 participants