Skip to content

Commit b7b00bf

Browse files
fix: Adapt destructive menu icon to dark mode (pingdotgg#3126)
Co-authored-by: Julius Marminge <jmarminge@gmail.com>
1 parent ae2b523 commit b7b00bf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/desktop/src/electron/ElectronMenu.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export const layer = Layer.effect(
9999
width: 12,
100100
height: 12,
101101
});
102+
icon.setTemplateImage(true);
102103
destructiveMenuIconCache = icon.isEmpty() ? Option.none() : Option.some(icon);
103104
} catch {
104105
destructiveMenuIconCache = Option.none();

0 commit comments

Comments
 (0)