Removed back navigation from advanced options

pull/156/head
M66B 6 years ago
parent 6e15db6004
commit 00fc2bc02e

@ -73,18 +73,6 @@ public class FragmentOptions extends FragmentBase {
adapter = new PagerAdapter(getChildFragmentManager()); adapter = new PagerAdapter(getChildFragmentManager());
pager.setAdapter(adapter); pager.setAdapter(adapter);
addBackPressedListener(new ActivityBase.IBackPressedListener() {
@Override
public boolean onBackPressed() {
if (pager.getCurrentItem() == 0)
return false;
else {
pager.setCurrentItem(pager.getCurrentItem() - 1);
return true;
}
}
});
return view; return view;
} }

Loading…
Cancel
Save