1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-12 22:57:38 +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

@ -6,8 +6,9 @@ import { reg } from 'lib/registry.js'
import { ScreenHeader } from 'lib/components/screen-header.js';
import { time } from 'lib/time-utils'
import { Logger } from 'lib/logger.js';
import { BaseScreenComponent } from 'lib/components/base-screen.js';
class LogScreenComponent extends React.Component {
class LogScreenComponent extends BaseScreenComponent {
static navigationOptions(options) {
return { header: null };
@ -54,7 +55,7 @@ class LogScreenComponent extends React.Component {
// `enableEmptySections` is to fix this warning: https://github.com/FaridSafi/react-native-gifted-listview/issues/39
return (
<View style={{flex: 1}}>
<View style={this.styles().screen}>
<ScreenHeader navState={this.props.navigation.state} />
<ListView
dataSource={this.state.dataSource}