mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Add comments
This commit is contained in:
parent
2e59a8e0b6
commit
f8343592f3
1 changed files with 1 additions and 1 deletions
|
|
@ -106,9 +106,9 @@ public class SingleUploadFragment extends CommonsDaggerSupportFragment {
|
||||||
|
|
||||||
license = prefs.getString(Prefs.DEFAULT_LICENSE, Prefs.Licenses.CC_BY_SA_3);
|
license = prefs.getString(Prefs.DEFAULT_LICENSE, Prefs.Licenses.CC_BY_SA_3);
|
||||||
|
|
||||||
|
// If this is a direct upload from Nearby, autofill title and desc fields with the Place's values
|
||||||
boolean isNearbyUpload = ((ShareActivity) getActivity()).isNearbyUpload();
|
boolean isNearbyUpload = ((ShareActivity) getActivity()).isNearbyUpload();
|
||||||
|
|
||||||
//TODO: Get this to display title and desc
|
|
||||||
if (isNearbyUpload) {
|
if (isNearbyUpload) {
|
||||||
String imageTitle = ((ShareActivity) getActivity()).getNearbyTitle();
|
String imageTitle = ((ShareActivity) getActivity()).getNearbyTitle();
|
||||||
String imageDesc = ((ShareActivity) getActivity()).getNearbyDesc();
|
String imageDesc = ((ShareActivity) getActivity()).getNearbyDesc();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue