mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Remove duplicate code from merge to prevent NPE
This commit is contained in:
parent
448f93e923
commit
4c560149e6
1 changed files with 0 additions and 2 deletions
|
|
@ -93,8 +93,6 @@ public class MediaDetailPagerFragment extends CommonsDaggerSupportFragment imple
|
|||
|
||||
adapter = new MediaDetailAdapter(getChildFragmentManager());
|
||||
|
||||
((BaseActivity)getActivity()).getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
||||
|
||||
if (getActivity() != null) {
|
||||
final ActionBar actionBar = ((AppCompatActivity) getActivity()).getSupportActionBar();
|
||||
if (actionBar != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue