Skip to content

Commit

Permalink
Cleanup unnecessary UI elements
Browse files Browse the repository at this point in the history
  • Loading branch information
saertna committed Sep 2, 2024
1 parent 71b9e63 commit 206953e
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,6 @@ export default class gamification extends Plugin {
});


this.addCommand({
id: 'overview',
name: 'open gamification side overview',
callback: async () => {
this.activateView();
},
});

if (this.mediator.getSettingBoolean('debug')){
this.addRibbonIcon("accessibility", "Crafting", async () => {
console.log('Debug Help Funktion accessibility is called')
Expand Down Expand Up @@ -254,6 +246,11 @@ export default class gamification extends Plugin {
this.addRibbonIcon("chevrons-right", "update overview leaf", () => {
this.actualizeProfileLeave();
});

this.addCommand({ id: 'overview', name: 'open gamification side overview', callback: async () => {
this.activateView();
},
});
}

if(this.mediator.getSettingNumber('counterMajurityCalcInitial') >= 50){
Expand Down

0 comments on commit 206953e

Please sign in to comment.