Skip to content

Commit

Permalink
change ? : to selectActiveHistory()
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhuinden committed Jan 17, 2017
1 parent a98687b commit 1112394
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void setStateChanger(StateChanger stateChanger, @StateChangerRegisterMode
if(registerMode == INITIALIZE && (queuedStateChanges.size() <= 1 || stack.isEmpty())) {
if(!beginStateChangeIfPossible()) {
ArrayList<Parcelable> newHistory = new ArrayList<>();
newHistory.addAll(stack.isEmpty() ? initialParameters : stack);
newHistory.addAll(selectActiveHistory());
stack = initialParameters;
enqueueStateChange(newHistory, StateChange.Direction.REPLACE, true);
}
Expand Down

0 comments on commit 1112394

Please sign in to comment.