You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Updated for iOS
This commit is contained in:
		| @@ -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 ( | ||||
|       <View style={styles.container}> | ||||
|         <Text style={styles.welcome}> | ||||
|           Welcome to React Native! | ||||
|         </Text> | ||||
|         <Text style={styles.instructions}> | ||||
|           To get started, edit index.ios.js | ||||
|         </Text> | ||||
|         <Text style={styles.instructions}> | ||||
|           Press Cmd+R to reload,{'\n'} | ||||
|           Cmd+D or shake for dev menu | ||||
|         </Text> | ||||
|       </View> | ||||
|     ); | ||||
|   } | ||||
| } | ||||
| // 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 ( | ||||
| //       <View style={styles.container}> | ||||
| //         <Text style={styles.welcome}> | ||||
| //           Welcome to React Native! | ||||
| //         </Text> | ||||
| //         <Text style={styles.instructions}> | ||||
| //           To get started, edit index.ios.js | ||||
| //         </Text> | ||||
| //         <Text style={styles.instructions}> | ||||
| //           Press Cmd+R to reload,{'\n'} | ||||
| //           Cmd+D or shake for dev menu | ||||
| //         </Text> | ||||
| //       </View> | ||||
| //     ); | ||||
| //   } | ||||
| // } | ||||
|  | ||||
| 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); | ||||
|   | ||||
| @@ -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", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user