1
0
mirror of https://github.com/Eugeny/tabby.git synced 2025-07-20 02:18:01 +00:00

Update hostApp.service.ts

This commit is contained in:
Eugene Pankov
2021-01-02 12:19:08 +01:00
parent 03e654b5a0
commit 4d237baf33

@@ -235,7 +235,7 @@ export class HostAppService {
* @param type `null`, or `fluent` when supported (Windowd only) * @param type `null`, or `fluent` when supported (Windowd only)
*/ */
setVibrancy (enable: boolean, type: string|null): void { setVibrancy (enable: boolean, type: string|null): void {
if (!isWindowsBuild(WIN_BUILD_FLUENT_BG_SUPPORTED)) { if (this.platform === Platform.Windows && !isWindowsBuild(WIN_BUILD_FLUENT_BG_SUPPORTED)) {
type = null type = null
} }
document.body.classList.toggle('vibrant', enable) document.body.classList.toggle('vibrant', enable)