Remove priviliged layers from personal theme (as some of them will be added automatically anyways)

This commit is contained in:
pietervdvn 2022-02-16 01:27:36 +01:00
parent f2042a6db4
commit b5d2746a2a

View file

@ -418,8 +418,7 @@ class PreparePersonalTheme extends DesugaringStep<LayoutConfigJson> {
return {result: json}
}
json.layers = Array.from(this._state.sharedLayers.keys())
json.layers = Array.from(this._state.sharedLayers.keys()).filter(l => Constants.priviliged_layers.indexOf(l) < 0)
return {result: json};
}