Skip to content

Commit

Permalink
- when restoring, we don't want to send in any transactionOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ncapdevi committed Sep 17, 2017
1 parent c5cedb3 commit a478a4e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ private boolean restoreFromBundle(@Nullable Bundle savedInstanceState, @Nullable
// Restore selected tab if we have one
int selectedTabIndex = savedInstanceState.getInt(EXTRA_SELECTED_TAB_INDEX);
if (selectedTabIndex >= 0 && selectedTabIndex < MAX_NUM_TABS) {
switchTab(selectedTabIndex);
switchTab(selectedTabIndex, null);
}

//Successfully restored state
Expand Down

0 comments on commit a478a4e

Please sign in to comment.