mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Modified ShareActivity
This commit is contained in:
parent
7ad697bf98
commit
a519b82761
1 changed files with 1 additions and 6 deletions
|
|
@ -13,7 +13,6 @@ import fr.free.nrw.commons.modifications.CategoryModifier;
|
||||||
import fr.free.nrw.commons.modifications.TemplateRemoveModifier;
|
import fr.free.nrw.commons.modifications.TemplateRemoveModifier;
|
||||||
import fr.free.nrw.commons.CommonsApplication;
|
import fr.free.nrw.commons.CommonsApplication;
|
||||||
import fr.free.nrw.commons.EventLog;
|
import fr.free.nrw.commons.EventLog;
|
||||||
import fr.free.nrw.commons.campaigns.Campaign;
|
|
||||||
import fr.free.nrw.commons.category.CategorizationFragment;
|
import fr.free.nrw.commons.category.CategorizationFragment;
|
||||||
import fr.free.nrw.commons.contributions.*;
|
import fr.free.nrw.commons.contributions.*;
|
||||||
import fr.free.nrw.commons.auth.*;
|
import fr.free.nrw.commons.auth.*;
|
||||||
|
|
@ -151,11 +150,7 @@ public class ShareActivity
|
||||||
@Override
|
@Override
|
||||||
public void onCreate(Bundle savedInstanceState) {
|
public void onCreate(Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
Campaign campaign = null;
|
uploadController = new UploadController(this);
|
||||||
if(getIntent().hasExtra(UploadService.EXTRA_CAMPAIGN)) {
|
|
||||||
campaign = (Campaign) getIntent().getSerializableExtra(UploadService.EXTRA_CAMPAIGN);
|
|
||||||
}
|
|
||||||
uploadController = new UploadController(this, campaign);
|
|
||||||
setContentView(R.layout.activity_share);
|
setContentView(R.layout.activity_share);
|
||||||
|
|
||||||
app = (CommonsApplication)this.getApplicationContext();
|
app = (CommonsApplication)this.getApplicationContext();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue