diff --git a/ReactNativeClient/index.ios.js b/ReactNativeClient/index.ios.js index 7d03ea719b..d0e4f551bf 100644 --- a/ReactNativeClient/index.ios.js +++ b/ReactNativeClient/index.ios.js @@ -1,51 +1,3 @@ const { main } = require('./main.js'); -main(); - -// const React = require('react'); const Component = React.Component; -// import { -// AppRegistry, -// StyleSheet, -// Text, -// View -// } from 'react-native'; - -// 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 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); +main(); \ No newline at end of file diff --git a/ReactNativeClient/lib/services/DecryptionWorker.js b/ReactNativeClient/lib/services/DecryptionWorker.js index f7e261e9aa..2381a91521 100644 --- a/ReactNativeClient/lib/services/DecryptionWorker.js +++ b/ReactNativeClient/lib/services/DecryptionWorker.js @@ -80,7 +80,9 @@ class DecryptionWorker { // } const ItemClass = BaseItem.itemClass(item); - this.logger().info('DecryptionWorker: decrypting: ' + item.id + ' (' + ItemClass.tableName() + ')'); + + // Don't log in production as it results in many messages when importing many items + // this.logger().info('DecryptionWorker: decrypting: ' + item.id + ' (' + ItemClass.tableName() + ')'); try { await ItemClass.decrypt(item); } catch (error) { diff --git a/Tools/update-homebrew.js b/Tools/update-homebrew.js index ef2f8fe1d2..c5f1987e7c 100644 --- a/Tools/update-homebrew.js +++ b/Tools/update-homebrew.js @@ -18,7 +18,7 @@ async function main() { console.info('URL = ' + url); console.info('SHA256 = ' + sha256); console.info(''); - console.info('brew bump-formula-pr --strict joplin --url=' + url + ' --sha256=' + sha256); + console.info('brew update && brew bump-formula-pr --strict joplin --url=' + url + ' --sha256=' + sha256); } main().catch((error) => {