Commons app mirror
Find a file
Jason-Whitmore d4a9bacd91
Fixes Issue #5832: Navigation Banner Appears in Media Details Screen (#6121)
* MediaDetailFragment.kt: add helper method to retrieve ContributionFragment instance

Before this commit, there was no easy way to check for and retrieve the ContributionFragment instance that
was either the parent or grandparent (parent's parent) fragment. A complicated if check was required to
retrieve it.

After this commit, there is a simple helper method which will retrieve the ContributionFragment instance.
Existing code can now be replaced by calling this method.

* MediaDetailFragment.kt: replace code that is meant to hide nearby card

Before this commit, code would attempt to find and hide the nearby card that would appear
when the user was looking at media details. However, this code did not work.

After this commit, the old code has been replaced with code that correctly hides the
nearby card. Also, this new code uses a helper method call and is overall easier to read.

---------

Co-authored-by: Nicolas Raoul <nicolas.raoul@gmail.com>
2025-01-14 08:17:14 +09:00
.github Merge commit 'refs/pull/5220/head' of github.com:commons-app/apps-android-commons into new-tools 2023-10-04 06:54:48 +05:30
.idea Fixes #5806 Implemented "Refresh" button to clear the cache and reload the Nearby map (#5891) 2024-10-25 14:19:07 +09:00
app Fixes Issue #5832: Navigation Banner Appears in Media Details Screen (#6121) 2025-01-14 08:17:14 +09:00
design Update app icon (Fixes #868) (#2022) 2018-12-17 11:13:46 +05:30
fastlane/metadata/android/en-US/images added icon.png file (#5447) 2024-01-17 10:03:11 +09:00
gradle/wrapper Fixes #5806 Implemented "Refresh" button to clear the cache and reload the Nearby map (#5891) 2024-10-25 14:19:07 +09:00
update-license-info Merge "commons" into the project root directory 2016-07-02 16:48:57 +09:00
.gitignore Removed butterknife from contributions list fragment (#5396) 2023-12-23 15:31:10 +09:00
.mailmap Add a .mailmap file to update bvibber's name/email (#5684) 2024-04-09 07:14:11 +09:00
build.gradle Fixes #5806 Implemented "Refresh" button to clear the cache and reload the Nearby map (#5891) 2024-10-25 14:19:07 +09:00
CHANGELOG.md Version v5.0.2 2024-07-07 01:05:55 +05:30
CONTRIBUTING.md Update CONTRIBUTING.md (#4113) 2020-12-31 00:11:09 +09:00
COPYING Relicense to Apache License 2013-04-23 21:16:43 +05:30
CREDITS #5611 removed MapBox from CREDIS because it has already been replaced (#5617) 2024-03-18 22:41:51 +09:00
dependency-injection.md Use JSON SPARQL query for fetching nearby places (#2398) 2019-02-06 10:40:30 +05:30
find-broken-strings-variables.sh Updated path 2016-10-26 19:56:49 +09:00
gitutils.gradle Fix for issue #1157 Added try-catch block in getBuildVersion function in gitutils.gradle … (#1158) 2019-01-03 20:18:42 +05:30
gradle.properties feat : Account Vanishing (#6098) 2025-01-09 23:27:08 +09:00
gradlew Update gradle from 4.0-rc-1 to 4.0.1 2017-07-19 17:14:37 +09:00
gradlew.bat Update gradle from 4.0-rc-1 to 4.0.1 2017-07-19 17:14:37 +09:00
jacoco.gradle fixes unit tests (#5354) 2023-10-20 11:50:51 +09:00
nr-commons.keystore.enc Automate releases (part 1) (#2111) 2018-12-14 21:07:03 +05:30
play.p12.enc Integrate gradle play publisher for automatic alpha releases (#2116) 2018-12-14 23:53:05 +05:30
README.md Updated contributors gallery 2024-04-02 22:51:47 +09:00
RELEASE-CHECKLIST.md Update RELEASE-CHECKLIST 2013-04-27 00:58:19 +05:30
settings.gradle Data client simplification / removal (#5507) 2024-02-03 10:26:06 +09:00
sign.sh Fix Codacy Issues + remove unused patch 2017-03-23 17:51:13 +00:00

Wikimedia Commons Android app

GitHub issue custom search Build status Preview the app codecov

The Wikimedia Commons Android app allows users to upload pictures from their Android phone/tablet to Wikimedia Commons. Download the app here, or view our website.

Initially started by the Wikimedia Foundation, this app is now maintained by grantees and volunteers of the Wikimedia community. Anyone is welcome to improve it, just choose among the open issues and send us a pull request! :-)

Get it on F-Droid Get it on Google Play

Documentation

Our documentation repository contains extensive documentation for users, contributors, and developers alike:

Contributors

Thank you all for your work!


misaochan

translatewiki

neslihanturan

yuvipanda

nicolas-raoul

domdomegg

maskaravivek

psh

madhurgupta10

ashishkumar468

bvibber

whym

akaita

veyndan

ujjwalagrawal17

macgills

dbrant

vanshikaarora

sivaraam

Ayan-10

shashankiitbhu

Pratham2305

sandarumk

tanvidadu

cypherop

Prince-kushwaha

tobias47n9e

4D17Y4

hismaeel

tshradheya

.. and many more.

License

This software is open source, licensed under the Apache License 2.0.