fix: Adapt destructive menu icon to dark mode (#3126)

Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
Wout StiensandJulius Marminge authored and GitHub committed 2026-06-18 05:43:47 +00:00
1 parent ae2b523503
commit b7b00bfb9d
1 file changed
+1
@@ -99,6 +99,7 @@ export const layer = Layer.effect(
width: 12,
height: 12,
});
icon.setTemplateImage(true);
destructiveMenuIconCache = icon.isEmpty() ? Option.none() : Option.some(icon);
} catch {
destructiveMenuIconCache = Option.none();