diff --git a/app/components/layout/AppUpdate.jsx b/app/components/layout/AppUpdate.jsx index 9e38c74a..1e68d883 100644 --- a/app/components/layout/AppUpdate.jsx +++ b/app/components/layout/AppUpdate.jsx @@ -52,12 +52,10 @@ class AppUpdate extends Component { } componentDidMount() { - // Checkinf For Update ipc.on('update-checking', event => { this.setState({message: 'Checking for update'}); }); - // Update available, ask user to download or not ipc.on('update-available', () => { openDialog( { @@ -70,7 +68,6 @@ class AppUpdate extends Component { ); }); - // Update Not Available ipc.on('update-not-available', () => { openDialog({ type: 'info', @@ -80,7 +77,6 @@ class AppUpdate extends Component { this.removeMessage(); }); - // Update Error ipc.on('update-error', (event, error) => { openDialog({ type: 'warning', @@ -90,7 +86,6 @@ class AppUpdate extends Component { this.removeMessage(); }); - // Update Download Confirm ipc.on('update-download-confirmed', (event, index) => { // Start the download if (index === 0) { @@ -106,14 +101,12 @@ class AppUpdate extends Component { } }); - // Download Progress ipc.on('update-download-progress', (event, progressMessage) => { this.setState({ message: progressMessage }); }); - // Update Downloaded ipc.on('update-downloaded', () => { // Update Message this.setState({ @@ -131,7 +124,6 @@ class AppUpdate extends Component { ); }); - // Upgrade Confirmation ipc.on('upgrade-confirmed', (event, index) => { if (index === 0) { ipc.send('restart-app'); diff --git a/app/components/settings/AppSettings.jsx b/app/components/settings/AppSettings.jsx index c1446d53..90a203ce 100644 --- a/app/components/settings/AppSettings.jsx +++ b/app/components/settings/AppSettings.jsx @@ -71,61 +71,50 @@ class AppSettings extends Component { return (
-
- -
- - - - -
-
+
+
+ -
- - +
+ + + + +
+
- +
- +
@@ -146,7 +135,7 @@ class AppSettings extends Component {
- +