Skip to content

Commit

Permalink
Fix according to feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
kikijiki committed Dec 15, 2024
1 parent 9b9f27c commit 4694886
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ export default class KikijikiHabitTracker extends Plugin {
);

this.addCommand({
id: 'kikijiki-habit-tracker-open',
name: 'Open Kikijiki Habit Tracker',
id: 'kikijikihabittracker-open',
name: 'Open Panel',
callback: () => {
this.activateView();
}
Expand Down Expand Up @@ -59,7 +59,6 @@ export default class KikijikiHabitTracker extends Plugin {
}

onunload() {
this.app.workspace.detachLeavesOfType(HABIT_TRACKER_VIEW_TYPE);
}

async loadSettings() {
Expand Down

0 comments on commit 4694886

Please sign in to comment.