-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Created a setting to switch the sides of volume and brightness #9708
Created a setting to switch the sides of volume and brightness #9708
Conversation
app/src/main/java/org/schabi/newpipe/player/gesture/MainPlayerGestureListener.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/schabi/newpipe/player/gesture/MainPlayerGestureListener.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/schabi/newpipe/settings/VideoAudioSettingsFragment.java
Outdated
Show resolved
Hide resolved
I fixed a small bug. Now everything should be fine. |
Mmmh, after thinking about it, I think it's better to have two list options ("Gesture for left side", "Gesture for right side"), a where each option allows choosing amongst "None", "Audio control", "Brightness control". This also means that the user will be able to use one half of the screen for volume, and leave the other half without any gesture, which may help in some situations. This design is also future-proof if we decide to add more possible gesture actions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like "left/right gesture control" is not easy to understand. What about "Action for gesture on left/right side"?
app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/schabi/newpipe/player/gesture/MainPlayerGestureListener.kt
Outdated
Show resolved
Hide resolved
Did you think of a better name&description for the setting? |
app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java
Outdated
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed! |
app/src/main/java/org/schabi/newpipe/settings/SettingMigrations.java
Outdated
Show resolved
Hide resolved
…GestureListener.kt Co-authored-by: Stypox <stypox@pm.me>
…ailFragment.java Co-authored-by: Stypox <stypox@pm.me>
00f7169
to
d273560
Compare
40ba85d
to
4bb45c0
Compare
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pushed two commits to fix checkstyle and fix the settings migrations (the incorrect keys were used). I tested by importing my database in two different combinations of enabled gestures and the migration seemed to run nice.
Thank you!
What is it?
Description of the changes in your PR
Before/After Screenshots/Screen Record
Fixes the following issue(s)
Due diligence