mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-16 13:48:41 -09:00
app: get config preferences and not plugins
This commit is contained in:
parent
29df9b277d
commit
1993ca576f
1 changed files with 2 additions and 2 deletions
|
|
@ -8,14 +8,14 @@ export default class Config extends React.Component {
|
||||||
constructor () {
|
constructor () {
|
||||||
super();
|
super();
|
||||||
this.state = {
|
this.state = {
|
||||||
config: config.get()
|
config: config.getConfig()
|
||||||
};
|
};
|
||||||
this.onChange = this.onChange.bind(this);
|
this.onChange = this.onChange.bind(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
onChange () {
|
onChange () {
|
||||||
new Notification('HyperTerm configuration reloaded!');
|
new Notification('HyperTerm configuration reloaded!');
|
||||||
this.setState({ config: config.get() });
|
this.setState({ config: config.getConfig() });
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidMount () {
|
componentDidMount () {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue