Skip to content

Remove unused code #2672

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

Merged
merged 1 commit into from
Mar 19, 2019
Merged

Conversation

zhao-gang
Copy link
Contributor

Description (required)

Follow up of PR #2614

We're using MapBox tiles at present. Code
mapView.setStyleUrl("asset://mapstyle.json"); tries to set nearby map
tiles to wikimedia. It should be removed as it has no actual effect
and is somewhat misleading.

Tests performed (required)

Tested current master ProdDebug on Nexus 6P with API level 27.

We're using MapBox tiles at present. Code
mapView.setStyleUrl("asset://mapstyle.json"); tries to set nearby map
tiles to wikimedia. It should be removed as it has no actual effect
and is somewhat misleading.
@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@f4807a5). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##             master   #2672   +/-   ##
========================================
  Coverage          ?   2.77%           
========================================
  Files             ?     258           
  Lines             ?   12342           
  Branches          ?    1111           
========================================
  Hits              ?     342           
  Misses            ?   11973           
  Partials          ?      27
Impacted Files Coverage Δ
.../fr/free/nrw/commons/nearby/NearbyMapFragment.java 0% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f4807a5...7bc5a25. Read the comment docs.

@domdomegg domdomegg self-requested a review March 19, 2019 19:16
Copy link
Member

@domdomegg domdomegg left a comment

Choose a reason for hiding this comment

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

Could we also remove src/main/assets/mapstyle.json?

@domdomegg domdomegg self-requested a review March 19, 2019 21:35
@domdomegg domdomegg force-pushed the remove-unused-code branch from 59c77b2 to 7bc5a25 Compare March 19, 2019 21:36
@domdomegg domdomegg merged commit 0afcce8 into commons-app:master Mar 19, 2019
@domdomegg domdomegg removed their request for review March 21, 2019 18:20
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.

3 participants