mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 05:13:53 +01:00
Fix UI tests (#3297)
This commit is contained in:
parent
458b497a6c
commit
a8ee5bd201
3 changed files with 26 additions and 11 deletions
|
|
@ -484,7 +484,11 @@ public class UploadActivity extends BaseActivity implements UploadContract.View,
|
|||
super.onDestroy();
|
||||
presenter.onDetachView();
|
||||
compositeDisposable.clear();
|
||||
mediaLicenseFragment.setCallback(null);
|
||||
uploadCategoriesFragment.setCallback(null);
|
||||
if (mediaLicenseFragment != null) {
|
||||
mediaLicenseFragment.setCallback(null);
|
||||
}
|
||||
if (uploadCategoriesFragment != null) {
|
||||
uploadCategoriesFragment.setCallback(null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue