Skip to content

Commit

Permalink
Remove trailing whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
MediosZ committed Feb 20, 2025
1 parent b6882a9 commit ba62a92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Sources/AppBundle/GlobalObserver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ class GlobalObserver {
{
if let identifier = w.macAppUnsafe.nsApp.bundleIdentifier,
config.automaticallyUnhideMacosHiddenAppsExceptions.contains(identifier)
{
}
{}
else {
// Force focus
_ = w.focusWindow()
Expand Down
2 changes: 1 addition & 1 deletion Sources/AppBundle/normalizeLayoutReason.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ private func _normalizeLayoutReason(workspace: Workspace, windows: [Window]) {
let isMacosFullscreen = window.isMacosFullscreen
let isMacosMinimized = !isMacosFullscreen && window.isMacosMinimized
let isMacosWindowOfHiddenApp = !isMacosFullscreen && !isMacosMinimized &&
(!config.automaticallyUnhideMacosHiddenApps || config.automaticallyUnhideMacosHiddenAppsExceptions.contains(window.app.id ?? "")) &&
(!config.automaticallyUnhideMacosHiddenApps || config.automaticallyUnhideMacosHiddenAppsExceptions.contains(window.app.id ?? "")) &&
window.macAppUnsafe.nsApp.isHidden
switch window.layoutReason {
case .standard:
Expand Down

0 comments on commit ba62a92

Please sign in to comment.