From 94ef499e9c3f1956c4c4b6636282190ac21f1da9 Mon Sep 17 00:00:00 2001 From: Chad Sykes Date: Tue, 29 Dec 2020 14:52:34 -0700 Subject: [PATCH] Non-functional fix so it compiles locally --- Xcodes/Frontend/XcodeList/XcodeListView.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Xcodes/Frontend/XcodeList/XcodeListView.swift b/Xcodes/Frontend/XcodeList/XcodeListView.swift index edafc3c..3503114 100644 --- a/Xcodes/Frontend/XcodeList/XcodeListView.swift +++ b/Xcodes/Frontend/XcodeList/XcodeListView.swift @@ -41,7 +41,7 @@ struct XcodeListView: View { Text(verbatim: xcode.path ?? "") .font(.caption) - .foregroundColor(appState.selectedXcodeID == xcode.id ? Color(NSColor.selectedMenuItemTextColor) : Color(NSColor.secondaryLabelColor)) + .foregroundColor(selectedXcodeID == xcode.id ? Color(NSColor.selectedMenuItemTextColor) : Color(NSColor.secondaryLabelColor)) } @@ -56,8 +56,8 @@ struct XcodeListView: View { print("Installing...") } .buttonStyle(AppStoreButtonStyle(installed: xcode.installed, - highlighted: appState.selectedXcodeID == xcode.id)) - .disabled(xcode.installed) + highlighted: selectedXcodeID == xcode.id)) + .disabled(xcode.installed) } .contextMenu { InstallButton(xcode: xcode)