Skip to content

Commit

Permalink
fix failing build
Browse files Browse the repository at this point in the history
  • Loading branch information
VishnuSanal committed Nov 24, 2021
1 parent afa37c6 commit 552d9a8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ private void initLeftAndRightDragListeners(boolean destroy) {
if (viewPager.getCurrentItem() == 1) {
if (mainFragment != null) {
dataUtils.setCheckedItemsList(mainFragment.adapter.getCheckedItems());
mainActivity.getActionModeHelper().disableActionMode();
requireMainActivity().getActionModeHelper().disableActionMode();
}
viewPager.setCurrentItem(0, true);
}
Expand All @@ -481,7 +481,7 @@ private void initLeftAndRightDragListeners(boolean destroy) {
if (viewPager.getCurrentItem() == 0) {
if (mainFragment != null) {
dataUtils.setCheckedItemsList(mainFragment.adapter.getCheckedItems());
mainActivity.getActionModeHelper().disableActionMode();
requireMainActivity().getActionModeHelper().disableActionMode();
}
viewPager.setCurrentItem(1, true);
}
Expand Down

0 comments on commit 552d9a8

Please sign in to comment.