Apply suggestions from code review

Co-authored-by: tidy-dev <75402236+tidy-dev@users.noreply.github.com>
This commit is contained in:
Jose Cortinas 2024-01-23 09:51:23 -06:00 committed by GitHub
parent da61f9bbc0
commit 9d05adbc9b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -408,7 +408,7 @@ const pullRequestSuggestedNextActionKey =
'pull-request-suggested-next-action-key'
const underlineLinksKey = 'underline-links'
const underlineLinksDefault = false
const underlineLinksDefault = true
export class AppStore extends TypedBaseStore<IAppState> {
private readonly gitStoreCache: GitStoreCache
@ -2215,7 +2215,7 @@ export class AppStore extends TypedBaseStore<IAppState> {
// Current users will have underlines disabled by default. In the future
// this will change to be true by default.
if (getBoolean(underlineLinksKey) === undefined) {
setBoolean(underlineLinksKey, underlineLinksDefault)
setBoolean(underlineLinksKey, false)
}
this.underlineLinks = getBoolean(underlineLinksKey, underlineLinksDefault)