-
-
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
Replace MathUtils.clamp with Kotlin coerceIn #10224
Conversation
app/src/main/java/org/schabi/newpipe/player/gesture/PopupPlayerGestureListener.kt
Outdated
Show resolved
Hide resolved
fd96b8e
to
e5f25bd
Compare
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.
Are you sure about your changes? A part of them has been intentionally reverted with #8737.
@AudricV That's interesting, I wasn't aware of that. If the problem is that
This would ensure we always have a maximum of at least '0f' and avoid a crash. |
67eae10
to
87ca30f
Compare
Kudos, SonarCloud Quality Gate passed! |
ktlint fails |
87ca30f
to
aa890cc
Compare
aa890cc
to
b1faed5
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.
LGTM
What is it?
Description of the changes in your PR
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.
Due diligence