Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hotfix for falsy assertion in focus.swift
#341 The workaround replicates the workaround that was previously written in WorkspaceCommand: // todo drop anyLeafWindowRecursive. It must not be necessary if let window = workspace.mostRecentWindow ?? workspace.anyLeafWindowRecursive { // switch to not empty workspace state.subject = .window(window) } else { // switch to empty workspace check(workspace.isEffectivelyEmpty) state.subject = .emptyWorkspace(workspaceName) }
- Loading branch information