Fixed empty space at the bottom, fixed warning at main.ts
This commit is contained in:
parent
d10a2ca747
commit
54e6000eb8
3 changed files with 3 additions and 3 deletions
|
|
@ -33,7 +33,7 @@ export default class HabiticaSync extends Plugin {
|
|||
this.activateView();
|
||||
}
|
||||
});
|
||||
this.activateView();
|
||||
// this.activateView();
|
||||
|
||||
}
|
||||
async loadSettings() {
|
||||
|
|
@ -44,7 +44,7 @@ export default class HabiticaSync extends Plugin {
|
|||
}
|
||||
|
||||
async onunload() {
|
||||
// await this.view.onClose();
|
||||
await this.view.onClose();
|
||||
|
||||
this.app.workspace
|
||||
.getLeavesOfType(VIEW_TYPE)
|
||||
|
|
|
|||
|
|
@ -196,7 +196,6 @@ class App extends React.Component<any, any> {
|
|||
{content}
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
|
||||
<Taskview data={this.state.tasks} handleChangeTodos={this.handleChangeTodos} handleChangeDailys={this.handleChangeDailys} handleChangeHabits={this.handleChangeHabits} handleChangeRewards={this.handleChangeRewards}/>
|
||||
<div></div>
|
||||
<Statsview user_data={this.state.user_data} />
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue