Skip to content

Commit

Permalink
Change icons
Browse files Browse the repository at this point in the history
  • Loading branch information
trazyn committed Jul 23, 2018
1 parent cb0e627 commit bc5c4b0
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 44 deletions.
Binary file modified resource/128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resource/16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resource/24x24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resource/256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resource/32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resource/48x48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resource/64x64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resource/96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resource/icon.icns
Binary file not shown.
Binary file modified src/assets/images/dock.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 1 addition & 36 deletions src/js/pages/Settings/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,39 +29,9 @@ import helper from 'utils/helper';

user: stores.session.user,
logout: stores.session.logout,
plugins: stores.settings.plugins,
}))
@observer
export default class Settings extends Component {
renderPlugins(plugins) {
return plugins.map((e, index) => {
return (
<div
className={classes.plugin}
key={index}>
<img src={e.icon} />

<div className={classes.detail}>
<p>
<span>{e.name}</span>
<span className={classes.version}>{e.version}</span>
</p>
<p>
<a
href={e.link}
target="_bank">
View on Github
</a>
</p>
<div className={classes.description}>{e.description}</div>
</div>

<Switch defaultChecked={e.enabled} />
</div>
);
});
}

choiceDownloadDir() {
this.refs.downloads.click();
}
Expand Down Expand Up @@ -90,7 +60,6 @@ export default class Settings extends Component {
setRemeberConversation,
showRedIcon,
setShowRedIcon,
plugins,
user,
} = this.props;

Expand Down Expand Up @@ -203,11 +172,7 @@ export default class Settings extends Component {
</ul>
</div>
<div className={classes.column}>
<h2>Plugins</h2>

{
this.renderPlugins(plugins)
}
<h2>TODO:</h2>
</div>
</div>
);
Expand Down
8 changes: 0 additions & 8 deletions src/js/stores/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ class Settings {
@observable remeberConversation = false;
@observable showRedIcon = true;
@observable downloads = '';
@observable plugins = [{
name: 'Message Backup',
link: 'https://github.com/trazyn',
description: 'Curabitur lobortis id lorem id bibendum. Ut id consectetur magna. Quisque volutpat augue enim, pulvinar lobortis nibh lacinia at. Vestibulum nec erat ut mi sollicitudin porttitor id sit amet risus. Nam tempus vel odio vitae aliquam. In imperdiet eros id lacus vestibulum vestibulum. Suspendisse fermentum sem sagittis ante venenatis egestas quis vel justo. Maecenas semper suscipit nunc, sed aliquam sapien convallis eu. Nulla ut turpis in diam dapibus consequat.',
version: '1.0.1',
icon: 'https://lh6.ggpht.com/k7Z4J1IIXXJnC2NRnFfJNlkn7kZge4Zx-Yv5uqYf4222tx74wXDzW24OvOxlcpw0KcQ=w300',
enabled: true,
}];

@action setAlwaysOnTop(alwaysOnTop) {
self.alwaysOnTop = alwaysOnTop;
Expand Down

0 comments on commit bc5c4b0

Please sign in to comment.