1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +02:00

Cache note list

This commit is contained in:
Laurent Cozic
2017-07-31 22:03:12 +02:00
parent f7da1118db
commit 8ce02e6e4c
3 changed files with 27 additions and 5 deletions

View File

@@ -2,12 +2,14 @@ import React, { Component } from 'react';
import { StyleSheet } from 'react-native';
import { globalStyle } from 'lib/components/global-style.js';
const styles_ = StyleSheet.create({
const styleObject_ = {
screen: {
flex: 1,
backgroundColor: globalStyle.backgroundColor,
},
});
};
const styles_ = StyleSheet.create(styleObject_);
class BaseScreenComponent extends React.Component {
@@ -15,6 +17,10 @@ class BaseScreenComponent extends React.Component {
return styles_;
}
styleObject() {
return styleObject_;
}
}
export { BaseScreenComponent };