mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-02 22:41:18 +08:00
Summary: I noticed that after starting a new game the board is not correctly layouted:  Maybe this bug was introduced after the change of flex behaviour in 0.36. Just replacing empty view with null fixed it. **Test plan (required)** - launch the TicTacToe app - complete a round - press on new game a new board should be centred both vertically and horizontally Closes https://github.com/facebook/react-native/pull/11775 Differential Revision: D4392024 Pulled By: ericvicenti fbshipit-source-id: d2742d6ecafd786c38212adeb3c952f18a0e6f2b