Merge branch 'dev' of https://github.com/SuperChamp234/habitica-sync into dev
This commit is contained in:
commit
dfc4e55cb5
3 changed files with 7 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ export default class HabiticaSync extends Plugin {
|
|||
this.activateView();
|
||||
}
|
||||
});
|
||||
this.activateView();
|
||||
// this.activateView();
|
||||
|
||||
}
|
||||
async loadSettings() {
|
||||
|
|
@ -45,7 +45,7 @@ export default class HabiticaSync extends Plugin {
|
|||
}
|
||||
|
||||
async onunload() {
|
||||
// await this.view.onClose();
|
||||
await this.view.onClose();
|
||||
|
||||
this.app.workspace
|
||||
.getLeavesOfType(VIEW_TYPE)
|
||||
|
|
|
|||
|
|
@ -195,8 +195,12 @@ class App extends React.Component<any, any> {
|
|||
return (<div className="plugin-root">
|
||||
{content}
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
|
||||
<<<<<<< HEAD
|
||||
<Taskview data={this.state.tasks} handleChangeTodos={this.handleChangeTodos} settings = {this.props.plugin.settings} handleChangeDailys={this.handleChangeDailys} handleChangeHabits={this.handleChangeHabits} handleChangeRewards={this.handleChangeRewards}/>
|
||||
<div></div>
|
||||
=======
|
||||
<Taskview data={this.state.tasks} handleChangeTodos={this.handleChangeTodos} handleChangeDailys={this.handleChangeDailys} handleChangeHabits={this.handleChangeHabits} handleChangeRewards={this.handleChangeRewards}/>
|
||||
>>>>>>> 54e6000eb8811968a7e3082a4995c6e40f96654e
|
||||
<Statsview user_data={this.state.user_data} />
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue