fix: only persist edited/existing mode overrides, refresh popover theme on dark mode toggle
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -156,6 +156,10 @@
|
||||
const subredditName = container.getAttribute("data-rt-subreddit");
|
||||
applyColorsToContainer(container, settings, subredditName);
|
||||
});
|
||||
|
||||
if (window.RedditTweaks.colorPopover && window.RedditTweaks.colorPopover.refreshTheme) {
|
||||
window.RedditTweaks.colorPopover.refreshTheme(settings);
|
||||
}
|
||||
}
|
||||
|
||||
function apply(settings) {
|
||||
|
||||
Reference in New Issue
Block a user