-
-
Notifications
You must be signed in to change notification settings - Fork 20
Suggested changes. #144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggested changes. #144
Changes from 1 commit
152aaf8
8ae418d
f31c17d
ec3d144
d42ac3d
6156955
8b72919
f4eec93
d64e83b
6e980c9
068bbfc
735801f
c88f585
130f273
a7c60c2
ff21627
8e92360
d7282fa
46641f0
5bb066f
fd973bd
ec1be47
04c7495
0084513
5714dbf
9295705
13f1a68
985e359
ac7559a
982d7f6
821d6d4
765220e
8af79c5
f74a900
1028341
e4e358b
941e3ea
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,45 +18,27 @@ struct StatusMenuView: View { | |
| .font(.caption) | ||
| .foregroundStyle(.secondary) | ||
|
|
||
| Divider() | ||
|
|
||
| Button { | ||
| AppDelegate.ui?.runXcode(self) | ||
| NSApp.activate(ignoringOtherApps: true) | ||
| openWindow(id: "settings") | ||
| bringSettingsToFront() | ||
| } label: { | ||
| HStack { | ||
| Text("Launch Xcode") | ||
| if config.isXcodeRunning { | ||
| Spacer() | ||
| Image(systemName: "checkmark") | ||
| } | ||
| } | ||
| Label("Settings...", systemImage: "gearshape") | ||
| } | ||
|
|
||
| Divider() | ||
| .keyboardShortcut(",", modifiers: .command) | ||
|
|
||
| Button { | ||
| selectProject() | ||
| AppDelegate.ui?.runXcode(self) | ||
| } label: { | ||
|
Comment on lines
31
to
33
|
||
| HStack { | ||
| Text("Select Project...") | ||
| if !config.defaultProjectFile.isEmpty { | ||
| Text("Launch Xcode") | ||
| if config.haveLaunchedXocde { | ||
| Spacer() | ||
| Image(systemName: "checkmark") | ||
| } | ||
| } | ||
| } | ||
|
|
||
| if !config.defaultProjectFile.isEmpty { | ||
| Button("Clear Selected Project") { | ||
| config.defaultProjectFile = "" | ||
| config.autoOpenDefaultProject = false | ||
| } | ||
|
|
||
| Text(" \(URL(fileURLWithPath: config.defaultProjectFile).lastPathComponent)") | ||
| .font(.caption) | ||
| .foregroundStyle(.secondary) | ||
| } | ||
|
|
||
| Divider() | ||
|
|
||
| Button { | ||
|
|
@@ -114,17 +96,6 @@ struct StatusMenuView: View { | |
|
|
||
| Divider() | ||
|
|
||
| Button { | ||
| NSApp.activate(ignoringOtherApps: true) | ||
| openWindow(id: "settings") | ||
| bringSettingsToFront() | ||
| } label: { | ||
| Label("Settings...", systemImage: "gearshape") | ||
| } | ||
| .keyboardShortcut(",", modifiers: .command) | ||
|
|
||
| Divider() | ||
|
|
||
| Label { | ||
| Text(config.isClientConnected ? "Client Connected" : "No Client") | ||
| } icon: { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.