Skip to content

Commit

Permalink
2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rbhushans committed Nov 11, 2024
1 parent 4daf41e commit e38b9ae
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to the garden extension in VS Code will be documented in this file.

## [2.0.2] - 11/10/2024

- Added functionality to reset timers when refreshing the garden (use this if notifications for some reason stop working)
- Fixed some notification related logic

## [2.0.0] - 07/01/2024

- Added the ability to long-press on plants to remove them, with a shake animation
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"reminder",
"fun"
],
"version": "2.0.1",
"version": "2.0.2",
"engines": {
"vscode": "^1.77.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/commands/notify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const sendNotification = async (
const isModalCurrentlyActive = StateManager.getIsModalActive(context);
const isModal = SettingsManager.getIsModal();

if (isModalCurrentlyActive) {
if (isModalCurrentlyActive && isModal) {
return new Promise(
(resolve: (value: string | undefined) => void, _reject) =>
resolve(ACTIVE_MODAL)
Expand Down

0 comments on commit e38b9ae

Please sign in to comment.