Skip to content

Commit 37fde45

Browse files
committed
Add settings for closing idle tabs
1 parent 40c1a1e commit 37fde45

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import Foundation
2+
import SharedUIComponents
3+
import SwiftUI
4+
5+
#if canImport(ProHostApp)
6+
import ProHostApp
7+
#endif
8+
9+
struct XcodeSettingsView: View {
10+
var body: some View {
11+
VStack {
12+
#if canImport(ProHostApp)
13+
CloseXcodeIdleTabsSettingsView()
14+
#endif
15+
16+
EmptyView()
17+
}
18+
}
19+
}
20+

Core/Sources/HostApp/FeatureSettingsView.swift

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ struct FeatureSettingsView: View {
3535
image: "paintbrush"
3636
)
3737

38+
ScrollView {
39+
XcodeSettingsView().padding()
40+
}
41+
.sidebarItem(
42+
tag: 3,
43+
title: "Xcode",
44+
subtitle: "Xcode related features",
45+
image: "app"
46+
)
47+
3848
// #if canImport(ProHostApp)
3949
// ScrollView {
4050
// TerminalSettingsView().padding()

Pro

Submodule Pro updated from f78270a to 45ae2f3

0 commit comments

Comments
 (0)