Skip to content
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

Replace old Module.setting() calls and clean up some other setting access #600

Merged
merged 5 commits into from
Aug 24, 2022

Conversation

eritbh
Copy link
Member

@eritbh eritbh commented Aug 24, 2022

Fixes a reported issue where Toolbox wouldn't save the last settings backup date when backing up settings because the method used to do that no longer exists. https://www.reddit.com/r/toolbox/comments/wwtavx/doesnt_think_ive_backed_up/

Also cleans up some storage access stuff; moves some calls to the async variants introduced in #518, and replaces some weird calls that looked up the module by shortname and called .get()/.set(); they now use TBStorage methods directly, as discussed on Discord: https://discord.com/channels/535490452066009090/535490561478492161/1012093614903545866

@eritbh eritbh added bug something isn't working code quality labels Aug 24, 2022
@eritbh eritbh changed the title Replace old Module.setting() calls Replace old Module.setting() calls and clean up some other setting access Aug 24, 2022
@creesch creesch merged commit 5bde140 into master Aug 24, 2022
@creesch creesch deleted the fix-module-setting-calls branch August 24, 2022 21:31
@eritbh eritbh added this to the v6.0.3 milestone Aug 24, 2022
@eritbh eritbh modified the milestones: v6.0.3, v6.1.0 Sep 11, 2022
eritbh added a commit that referenced this pull request Sep 5, 2024
…cess (#600)

* Replace old Module.setting() calls

* Remove unused import from betterbuttons

* Don't do weird module lookup to get settings

* Convert some more storage calls to async variants

* that's not how this method works
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants