Skip to content

Commit c414382

Browse files
committed
chore: remove Backend section from Settings
1 parent 59d021a commit c414382

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

App/Sources/Features/Settings/SettingsView.swift

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ struct SettingsView: View {
88
var body: some View {
99
Form {
1010
Section("HuggingFace Account") { authSection }
11-
Section("Backend") { backendSection }
1211
if let runtime, !runtime.engines.isEmpty {
1312
Section("Engines") { enginesSection(runtime) }
1413
}
@@ -65,17 +64,6 @@ struct SettingsView: View {
6564
}
6665
}
6766

68-
@ViewBuilder
69-
private var backendSection: some View {
70-
LabeledContent("Status") {
71-
Label("Running", systemImage: "checkmark.circle.fill").foregroundStyle(Theme.success)
72-
}
73-
if let runtime {
74-
LabeledContent("Python", value: runtime.pythonVersion)
75-
LabeledContent("Platform", value: "\(runtime.platform) · \(runtime.machine)")
76-
}
77-
}
78-
7967
@ViewBuilder
8068
private func enginesSection(_ runtime: RuntimeInfo) -> some View {
8169
ForEach(runtime.engines.sorted(by: { $0.key < $1.key }), id: \.key) { name, available in

0 commit comments

Comments
 (0)