mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Remove unneeded variable
This commit is contained in:
parent
5006067306
commit
d4777e5987
1 changed files with 0 additions and 1 deletions
|
|
@ -254,7 +254,6 @@ public class MainActivity extends AuthenticatedActivity implements FragmentManag
|
|||
}
|
||||
} else if (getSupportFragmentManager().findFragmentByTag(nearbyFragmentTag) != null && !isContributionsFragmentVisible) {
|
||||
// Means that nearby fragment is visible (not contributions fragment)
|
||||
NearbyParentFragment nearbyFragment = (NearbyParentFragment) contributionsActivityPagerAdapter.getItem(1);
|
||||
NearbyParentFragmentPresenter.getInstance().backButtonClicked();
|
||||
} else {
|
||||
super.onBackPressed();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue