Skip to content

Commit

Permalink
fix: 修复重置同步检查状态却没有重置检查次数的小错误
Browse files Browse the repository at this point in the history
  • Loading branch information
frostime committed Jun 12, 2023
1 parent 59f6459 commit 60e3767
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"en_US": "Daily Note Today"
},
"url": "https://github.com/frostime/siyuan-dailynote-today",
"version": "1.1.3",
"version": "1.1.3-patch",
"minAppVersion": "2.9.0",
"description": {
"zh_CN": "自动创建日记 + 快速打开日记 + 日程 TODO 管理 + 移动块功能",
Expand Down
5 changes: 5 additions & 0 deletions src/i18n/CHANGELOG_en_US-1.1.3.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### Patch Update Notes

The recently updated 1.1.3 version contained a minor error. This patch update fixes the issue.


### Daily Note Today v1.1.3 Update Notes

See [Milestone V1.1.3](https://github.com/frostime/siyuan-dailynote-today/milestone/14) for details.
Expand Down
4 changes: 4 additions & 0 deletions src/i18n/CHANGELOG_zh_CN-1.1.3.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### Patch 更新说明

刚刚更新的 1.1.3 版本存在一个低级小错误,这次的 patch 更新修复了这个问题。

### 今日笔记 v1.1.3 更新说明

详情见 [Milestone V1.1.3](https://github.com/frostime/siyuan-dailynote-today/milestone/14)
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ export default class DailyNoteTodayPlugin extends Plugin {
let msg = `${this.i18n.NewDay[0]} ${today.toLocaleDateString()} ${this.i18n.NewDay[1]}`

this.isSyncChecked = false; //重置同步检查状态
this.hasCheckSyncFor = 0; //重置同步检查次数

showMessage(msg, 5000, 'info');
}
Expand Down

0 comments on commit 60e3767

Please sign in to comment.