diff --git a/src/Reducer.js b/src/Reducer.js index 8d16bf490..619326a6f 100644 --- a/src/Reducer.js +++ b/src/Reducer.js @@ -9,7 +9,6 @@ /* eslint-disable no-param-reassign */ -import { Platform } from 'react-native'; import * as ActionConst from './ActionConst'; import { ActionMap } from './Actions'; import { assert } from './Util'; @@ -118,10 +117,6 @@ function inject(state, action, props, scenes) { }; } case ActionConst.ANDROID_BACK: { - if (Platform.OS === 'android') { - assert(state.index > 0, 'You are already in the root scene.'); - } - return { ...state, index: state.index - 1,