-
Notifications
You must be signed in to change notification settings - Fork 1.3k
removed inactive icons from the bottom panel in nearby #2549
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2549 +/- ##
======================================
Coverage 5.9% 5.9%
======================================
Files 258 258
Lines 12300 12300
Branches 1104 1107 +3
======================================
Hits 726 726
Misses 11515 11515
Partials 59 59
Continue to review full report at Codecov.
|
@@ -836,10 +836,10 @@ private void passInfoToSheet(Place place) { | |||
updateMarker(isBookmarked, this.place); | |||
}); | |||
|
|||
wikipediaButton.setEnabled(place.hasWikipediaLink()); | |||
wikipediaButton.setVisibility(place.hasWikipediaLink()==true?View.VISIBLE:View.GONE); |
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.
If place.hasWikipediaLink()?View.VISIBLE:View.GONE
works, it would be better :-)
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.
OK I'll do that
@nicolas-raoul I have made the changes. Kindly review :) |
Thanks for approving the PR @nicolas-raoul @maskaravivek :) |
Removed inactive icons from bottom panel of nearby instead of greying them out
Fixes #2541 Removing inactive icons from the bottom panel in nearby
Changes made
Changed visibility of icons instead of disabling them
Screenshots showing what changed
