Skip to content

Commit

Permalink
fix: remote lint comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannisj committed Nov 14, 2024
1 parent 504a529 commit 8ab68bf
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions PostHog/Utils/UIApplication+.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@
}
} else {
// check scene.windows.isKeyWindow
for window in scene.windows {
// swiftlint:disable:next for_where
if window.isKeyWindow {
return window
}
for window in scene.windows where window.isKeyWindow {
return window
}
}

Expand Down

0 comments on commit 8ab68bf

Please sign in to comment.