update a gnome version check to work with final gnome 42

This commit is contained in:
Philipp Unger
2022-03-23 13:42:07 +01:00
parent 60f0a90165
commit ce49cfca5e

View File

@@ -589,8 +589,9 @@ var dtpOverview = Utils.defineClass({
workAreaBox.set_origin(startX, startY);
workAreaBox.set_size(workArea.width, workArea.height);
params = [workAreaBox, searchHeight, dashHeight, workspaceAppGridBox]
if (Config.PACKAGE_VERSION > '42.beta') {
if (Config.PACKAGE_VERSION < '42') {
params = [workAreaBox, searchHeight, dashHeight, workspaceAppGridBox]
} else {
params = [box, workAreaBox, searchHeight, dashHeight, workspaceAppGridBox]
}
} else {