summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-02 22:43:23 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-02 22:43:23 +1100
commit675e77c4f6e3a07863054a3fff719a4956bc5fcb (patch)
tree510c1c64c7efb5337d3b719b01e1e554239844e9
parentlauncher: sort wallpapers and schemes (diff)
downloadcaelestia-shell-675e77c4f6e3a07863054a3fff719a4956bc5fcb.tar.gz
caelestia-shell-675e77c4f6e3a07863054a3fff719a4956bc5fcb.tar.bz2
caelestia-shell-675e77c4f6e3a07863054a3fff719a4956bc5fcb.zip
launcher: fix typeerror
-rw-r--r--src/modules/launcher/actions.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/launcher/actions.tsx b/src/modules/launcher/actions.tsx
index 6b5df52..bdc99db 100644
--- a/src/modules/launcher/actions.tsx
+++ b/src/modules/launcher/actions.tsx
@@ -407,7 +407,7 @@ export default class Actions extends Widget.Box implements LauncherContent {
const list = Object.keys(transparencyActions);
for (const { target } of fuzzysort.go(args[1], list, { all: true }))
- this.#content.add(<Transparency amount={target} />);
+ this.#content.add(<Transparency amount={target as keyof typeof transparencyActions} />);
} else {
const list = this.#list.filter(
a => this.#map[a].available?.() ?? !config.disabledActions.get().includes(a)