mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
Apply suggestions from code review
if the isInstalledOnly is on, we filter with `AND` instead of `OR` Co-authored-by: Matt Kiazyk <matt@bnid.ca>
This commit is contained in:
parent
12cc6b11ba
commit
550cf3261c
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ struct XcodeListView: View {
|
|||
}
|
||||
|
||||
if isInstalledOnly {
|
||||
xcodes = appState.allXcodes.filter { $0.installState.installed }
|
||||
xcodes = xcodes.filter { $0.installState.installed }
|
||||
}
|
||||
|
||||
return xcodes
|
||||
|
|
|
|||
Loading…
Reference in a new issue