Skip to content

Commit

Permalink
更新icon图片
Browse files Browse the repository at this point in the history
  • Loading branch information
dudor committed Jul 25, 2021
1 parent 6dffb48 commit 50cdd10
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Binary file added public/icons/icon32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "__MSG_extensionName__",
"version": "0.0.2",
"version": "0.0.4",
"manifest_version": 2,
"author": "dudor",
"description": "__MSG_extensionDescription__",
"homepage_url": "https://www.github.com/dudor/BookmarkHub",
"default_locale": "en",
"icons": {
"16": "icons/icon16.png",
"19": "icons/icon19.png",
"32": "icons/icon32.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
},
Expand Down
3 changes: 1 addition & 2 deletions src/views/background/background.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ async function clearBookmarkTree() {
}
}
}
await backupToLocalStorage(bookmarks);
if (curOperType === OperType.REMOVE && setting.enableNotify) {
await browser.notifications.create({
type: "basic",
Expand Down Expand Up @@ -345,7 +344,7 @@ function format(b: BookmarkInfo): BookmarkInfo {
}
return b;
}

///暂时不启用自动备份
async function backupToLocalStorage(bookmarks: BookmarkInfo[]) {
try {
let syncdata = new SyncDataInfo();
Expand Down

0 comments on commit 50cdd10

Please sign in to comment.