really fix prettier

This commit is contained in:
Marocco2 2024-01-06 11:50:36 +01:00 committed by GitHub
parent 100e764f0c
commit c704c05120
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -399,8 +399,8 @@ function createMainWindow() {
backgroundMaterial: transparencyOption
}),
// Fix transparencyOption for custom discord titlebar
...(discordWindowsTitleBar && transparencyOption &&
...(discordWindowsTitleBar &&
transparencyOption &&
transparencyOption !== "none" && {
transparent: true
}),