mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Merge pull request #1391 from commons-app/fixNearbyBugCausedThemeChange
Fix NPE in nearby fragment
This commit is contained in:
commit
9b2f192478
1 changed files with 3 additions and 1 deletions
|
|
@ -579,7 +579,9 @@ public class NearbyMapFragment extends DaggerFragment {
|
|||
transparentView.setAlpha(0);
|
||||
closeFabs(isFabOpen);
|
||||
hideFAB();
|
||||
this.getView().requestFocus();
|
||||
if (this.getView() != null) {
|
||||
this.getView().requestFocus();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue