Use transparent header for game

这个提交包含在:
Arnaud Vergnet 2020-08-07 14:00:21 +02:00
父节点 a3ce3a76c3
当前提交 92603cbaf7
共有 2 个文件被更改,包括 19 次插入14 次删除

查看文件

@ -98,6 +98,9 @@ function MainStackComponent(props: {
MainStack,
GameStartScreen,
i18n.t('screens.game.title'),
true,
null,
'transparent',
)}
<MainStack.Screen
name="game-main"

查看文件

@ -384,6 +384,7 @@ class GameStartScreen extends React.Component<PropsType> {
recoverGameScore() {
const {route} = this.props;
this.gameStats = route.params;
if (this.gameStats.score != null) {
this.isHighScore =
this.scores.length === 0 || this.gameStats.score > this.scores[0];
for (let i = 0; i < 3; i += 1) {
@ -401,6 +402,7 @@ class GameStartScreen extends React.Component<PropsType> {
this.scores,
);
}
}
render(): React.Node {
const {props} = this;