1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

implemented own navigator

This commit is contained in:
Laurent Cozic
2017-07-14 18:49:14 +00:00
parent 4dc540e589
commit 18b5453146
14 changed files with 104 additions and 54 deletions

View File

@ -10,8 +10,9 @@ import { BaseItem } from 'lib/models/base-item.js';
import { Folder } from 'lib/models/folder.js';
import { ReportService } from 'lib/services/report.js';
import { _ } from 'lib/locale.js';
import { BaseScreenComponent } from 'lib/components/base-screen.js';
class StatusScreenComponent extends React.Component {
class StatusScreenComponent extends BaseScreenComponent {
static navigationOptions(options) {
return { header: null };
@ -65,7 +66,7 @@ class StatusScreenComponent extends React.Component {
let body = renderBody(this.state.report);
return (
<View style={{flex: 1}}>
<View style={this.styles().screen}>
<ScreenHeader navState={this.props.navigation.state} />
<View style={{flex: 1}}>
{ body }