Skip to content
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

Fixed flickering of nearby banner compass #5483 #5486

Merged

Conversation

ShashwatKedia
Copy link
Contributor

Description (required)
The nearby banner compass was flickering when the user moved.

Fixes #5483

What changes did you make and why?
Removed setting the initial direction of the nearby banner compass, which was causing the flicker as the direction was being reset every time the location of the user changed.

Tests performed (required)

Tested prodDebug on OnePlus Nord CE 2 Lite with API level 31

Video showing normal behaviour of the compass, even as the user moves

Compass.not.flickering.mp4

Copy link
Member

@nicolas-raoul nicolas-raoul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flickering seems to have disappeared, thanks! :-)

@nicolas-raoul nicolas-raoul merged commit 5661e8c into commons-app:main Jan 29, 2024
1 check passed
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.

Nearby banner compass flickers when user is moving
2 participants