fix: correctly show when an app is no longer assigned to all desktops

closes #2372
This commit is contained in:
Louis Pontoise committed 2023-02-27 15:21:17 +01:00
1 parent 455e16a88f
commit 10bbaa9217
1 file changed
+1
+1
View File
@@ -223,6 +223,7 @@ class Window {
if spaceIds.count == 1 {
spaceId = spaceIds.first!
spaceIndex = Spaces.idsAndIndexes.first { $0.0 == spaceIds.first! }!.1
isOnAllSpaces = false
} else if spaceIds.count > 1 {
spaceId = Spaces.currentSpaceId
spaceIndex = Spaces.currentSpaceIndex