Skip to content

Commit

Permalink
fix touch interaction sound when automatically exiting fullscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
LisoUseInAIKyrios committed Dec 27, 2024
1 parent 8fbba16 commit c898ab5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ public static void endOfVideoReached() {
Logger.printDebug(() -> "Fullscreen button is null, cannot click");
} else {
Logger.printDebug(() -> "Clicking fullscreen button");
final boolean soundEffectsEnabled = button.isSoundEffectsEnabled();
button.setSoundEffectsEnabled(false);
button.performClick();
button.setSoundEffectsEnabled(soundEffectsEnabled);
}
});
}
Expand Down

0 comments on commit c898ab5

Please sign in to comment.