Skip to content

Conversation

@pouyayarandi
Copy link
Collaborator

This PR adds a new config named playSoundInSilentModeWithVolumeUp which enables unmuting video with pressing volume up button in silent mode (like instagram video player)

@pouyayarandi pouyayarandi requested review from Copilot and ialimz April 5, 2025 14:28
Copy link

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.

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

Sources/DarkRoom/VideoPlayer/Views/DarkRoomPlayerViewController.swift:176

  • [nitpick] Consider centralizing the audio session restoration logic to avoid duplicate code in both deinit and viewWillDisappear.
if playSoundInSilentModeWithVolumeUp {

@pouyayarandi pouyayarandi merged commit a92ec90 into divar-ir:master Apr 6, 2025
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