Skip to content

Fix/disable brightness desktop#797

Open
Julien9969 wants to merge 3 commits intoDonutWare:developfrom
Julien9969:fix/disable-brightness-desktop
Open

Fix/disable brightness desktop#797
Julien9969 wants to merge 3 commits intoDonutWare:developfrom
Julien9969:fix/disable-brightness-desktop

Conversation

@Julien9969
Copy link
Copy Markdown
Contributor

Pull Request Description

If the screen supports software-based brightness control, the desktop application automatically sets the brightness to minimum when the application loses focus.

As it seem unused, i remove the brightness control on desktop

Issue Being Fixed

Checklist

  • If a new package was added, did you ensure it works for all supported platforms? Is the package well maintained
  • Check that any changes are related to the issue at hand.

- Guard all ScreenBrightness calls with platform check to only run on
  Android and iOS where app-level brightness control works correctly
- Call setAutoReset(false) on desktop to prevent the screen_brightness
  plugin from changing system monitor brightness on focus loss
- Applies to video player controls, TV player controls, video player
  next wrapper, book viewer controls, and both settings providers
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