1
1
mirror of https://github.com/Eugeny/tabby.git synced 2025-01-03 16:12:50 +03:00

Update hostApp.service.ts

This commit is contained in:
Eugene Pankov 2021-01-02 12:19:08 +01:00
parent 03e654b5a0
commit 4d237baf33
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -235,7 +235,7 @@ export class HostAppService {
* @param type `null`, or `fluent` when supported (Windowd only)
*/
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
}
document.body.classList.toggle('vibrant', enable)