Set link underline default to true.

This commit is contained in:
Jose Cortinas 2024-02-26 07:57:42 -06:00
parent b616b73ba7
commit ec8f6bfc76

View file

@ -2218,10 +2218,9 @@ export class AppStore extends TypedBaseStore<IAppState> {
PullRequestSuggestedNextAction
) ?? defaultPullRequestSuggestedNextAction
// Current users will have underlines disabled by default. In the future
// this will change to be true by default.
// Users who have never saved this preference should get the default of true
if (getBoolean(underlineLinksKey) === undefined) {
setBoolean(underlineLinksKey, false)
setBoolean(underlineLinksKey, true)
}
this.underlineLinks = getBoolean(underlineLinksKey, underlineLinksDefault)