MCPcopy Create free account
hub / github.com/error311/FileRise / updateThemeLabel

Function updateThemeLabel

public/js/sharedDropView.js:137–141  ·  view source on GitHub ↗
(storedTheme)

Source from the content-addressed store, hash-verified

135 }
136
137 function updateThemeLabel(storedTheme) {
138 if (!themeToggleBtn) return;
139 const active = getActiveTheme(storedTheme);
140 themeToggleBtn.textContent = active === 'dark' ? 'Light mode' : 'Dark mode';
141 }
142
143 if (themeToggleBtn) {
144 const storedTheme = getStoredTheme();

Callers 1

sharedDropView.jsFile · 0.70

Calls 1

getActiveThemeFunction · 0.70

Tested by

no test coverage detected