Skip to content

Commit

Permalink
Removed icon from toolbar to prevent confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
benjypng committed May 18, 2022
1 parent 575572f commit 68a8b69
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "logseq-todoist-plugin",
"version": "4.1.3",
"version": "4.1.4",
"author": "hkgnp",
"description": "Simple Todoist plugin to pull only active tasks from specified project, i.e. Inbox",
"logseq": {
Expand Down
22 changes: 0 additions & 22 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,6 @@ const main = async () => {
await insertTasksIntoLogseq("today");
}
);

// Create UI for inserting env variables in settings
const createModel = () => {
return {
show() {
logseq.showMainUI();
},
};
};

logseq.provideModel(createModel());

// Register UI
logseq.App.registerUIItem("toolbar", {
key: "logseq-todoist-plugin",
template: `
<a data-on-click="show"
class="button">
<i class="ti ti-checkbox"></i>
</a>
`,
});
};

logseq.ready(main).catch(console.error);

0 comments on commit 68a8b69

Please sign in to comment.