-
Notifications
You must be signed in to change notification settings - Fork 645
Keep the last used cover profile path #3119
Keep the last used cover profile path #3119
Conversation
Signed-off-by: Alexandre Vilain <alexandre.vilain@me.com>
src/goMain.ts
Outdated
}) | ||
.then((coverProfilePath) => { | ||
if (!coverProfilePath) { | ||
return; | ||
} | ||
updateWorkspaceState(lastCoverProfilePathKey, coverProfilePath); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can skip updating the state if the same value was used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this is your first PR contribution to this project, Thanks & Welcome!
I have just one suggested change, please do take a look.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing review state to wait on suggested change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pushed a change to update the workspace state only if the provided value is different from the last used path and if the provided path is valid
The changes here are available in the latest beta version of this extension. |
Hi @ramya-rao-a ! Thanks :) |
This change is now available in the latest version of this extension. Thanks @alexandrevilain! |
Signed-off-by: Alexandre Vilain alexandre.vilain@me.com
Fixes #3118