revert: remove unnecessary themeOverride params from theme functions

The optional theme parameter was added as a workaround for tsx dev mode,
but that's a dev-only issue. Users running the built package don't need it.
This commit is contained in:
Mario Zechner 2026-01-04 20:27:46 +01:00
parent 7302fe5063
commit 00fa8b71c8
3 changed files with 13 additions and 30 deletions

View file

@ -91,7 +91,7 @@ export default function toolsHook(pi: HookAPI) {
const settingsList = new SettingsList(
items,
Math.min(items.length + 2, 15),
getSettingsListTheme(theme),
getSettingsListTheme(),
(id, newValue) => {
// Update enabled state and apply immediately
if (newValue === "enabled") {