-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add clear data options #315
Conversation
unsure about how to clear only settings
Thanks for your work so far!
|
How should I clear just the settings? I guess that would be everything excluding codes and the password? |
Yes, you can set settings.settings to {
language: 0,
launchOnStartup: true,
minimizeToTray: true,
optionalAnalytics: true,
codesDescription: false,
blurCodes: false,
sortCodes: 0,
codesLayout: 0,
}, |
close dialog before navigating
Should the four warning strings be moved into the localization file?
|
Its' not necessary. |
So is this PR good to go? I think I added everything. |
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.
Fix the formatting and good to go! Thanks!
interface/windows/settings/index.ts
Outdated
settings.settings.language = 0; | ||
settings.settings.launchOnStartup = true; | ||
settings.settings.minimizeToTray = true; | ||
settings.settings.optionalAnalytics = true; | ||
settings.settings.codesDescription = false; | ||
settings.settings.blurCodes = false; | ||
settings.settings.sortCodes = 0; | ||
settings.settings.codesLayout = 0; | ||
setSettings(settings) |
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.
Fix formatting
Reference issue
Purpose
Approach