|
@@ -103,11 +103,14 @@ public class BottomTabActivity extends BaseReactActivity implements AHBottomNavi
|
103
|
103
|
@Override
|
104
|
104
|
public Screen pop(String navigatorId) {
|
105
|
105
|
super.pop(navigatorId);
|
106
|
|
- Screen screen = mScreenStacks.get(mCurrentStackPosition).pop();
|
107
|
|
- Screen currentScreen = getCurrentScreen();
|
108
|
|
- setNavigationStyle(currentScreen);
|
109
|
|
- mToolbar.update(currentScreen);
|
110
|
|
- return screen;
|
|
106
|
+ for (ScreenStack stack: mScreenStacks) {
|
|
107
|
+ if (stack.peek().navigatorId.equals(navigatorId)) {
|
|
108
|
+ Screen popped = stack.pop();
|
|
109
|
+ setNavigationStyle(getCurrentScreen());
|
|
110
|
+ return popped;
|
|
111
|
+ }
|
|
112
|
+ }
|
|
113
|
+ return null;
|
111
|
114
|
}
|
112
|
115
|
|
113
|
116
|
@Override
|