diff --git a/ReactNativeClient/index.ios.js b/ReactNativeClient/index.ios.js index 0e8d47283b..7d03ea719b 100644 --- a/ReactNativeClient/index.ios.js +++ b/ReactNativeClient/index.ios.js @@ -1,53 +1,51 @@ -/** - * Sample React Native App - * https://github.com/facebook/react-native - * @flow - */ +const { main } = require('./main.js'); -const React = require('react'); const Component = React.Component; -import { - AppRegistry, - StyleSheet, - Text, - View -} from 'react-native'; +main(); -module.exports = default class Joplin extends Component {; - render() { - return ( - - - Welcome to React Native! - - - To get started, edit index.ios.js - - - Press Cmd+R to reload,{'\n'} - Cmd+D or shake for dev menu - - - ); - } -} +// const React = require('react'); const Component = React.Component; +// import { +// AppRegistry, +// StyleSheet, +// Text, +// View +// } from 'react-native'; -const styles = StyleSheet.create({ - container: { - flex: 1, - justifyContent: 'center', - alignItems: 'center', - backgroundColor: '#F5FCFF', - }, - welcome: { - fontSize: 20, - textAlign: 'center', - margin: 10, - }, - instructions: { - textAlign: 'center', - color: '#333333', - marginBottom: 5, - }, -}); +// module.exports = default class Joplin extends Component {; +// render() { +// return ( +// +// +// Welcome to React Native! +// +// +// To get started, edit index.ios.js +// +// +// Press Cmd+R to reload,{'\n'} +// Cmd+D or shake for dev menu +// +// +// ); +// } +// } -AppRegistry.registerComponent('Joplin', () => Joplin); +// const styles = StyleSheet.create({ +// container: { +// flex: 1, +// justifyContent: 'center', +// alignItems: 'center', +// backgroundColor: '#F5FCFF', +// }, +// welcome: { +// fontSize: 20, +// textAlign: 'center', +// margin: 10, +// }, +// instructions: { +// textAlign: 'center', +// color: '#333333', +// marginBottom: 5, +// }, +// }); + +// AppRegistry.registerComponent('Joplin', () => Joplin); diff --git a/joplin.sublime-project b/joplin.sublime-project index 8457cab48b..c6179bab2f 100755 --- a/joplin.sublime-project +++ b/joplin.sublime-project @@ -45,7 +45,6 @@ "ReactNativeClient/android/app/build", "ReactNativeClient/android/build", "ReactNativeClient/android/local.properties", - "ReactNativeClient/ios", "ReactNativeClient/node_modules", "ElectronClient/app/gui/note-viewer/highlight/styles", "tests/logs",