Fix crash on planex group screen open

This commit is contained in:
Arnaud Vergnet 2020-08-06 14:01:28 +02:00
父節點 ee9e225dae
當前提交 98770611ff

查看文件

@ -97,7 +97,7 @@ class GroupSelectionScreen extends React.Component<PropsType, StateType> {
* Creates the header content * Creates the header content
*/ */
componentDidMount() { componentDidMount() {
const [navigation] = this.props; const {navigation} = this.props;
navigation.setOptions({ navigation.setOptions({
headerTitle: this.getSearchBar, headerTitle: this.getSearchBar,
headerBackTitleVisible: false, headerBackTitleVisible: false,