We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65da774 commit 150748cCopy full SHA for 150748c
CCMenu/Source/Pipeline Window/EditPipelineSheet.swift
@@ -9,6 +9,8 @@ import SwiftUI
9
10
struct EditPipelineSheet: View {
11
@State var pipeline: Pipeline
12
+ @State var useBasicAuth = false
13
+ @State var credential = HTTPCredential(user: "", password: "")
14
@State var name: String = ""
15
@ObservedObject var model: PipelineModel
16
@Environment(\.presentationMode) @Binding var presentation
@@ -18,6 +20,12 @@ struct EditPipelineSheet: View {
18
20
Text("Edit Pipeline")
19
21
.font(.headline)
22
.padding(.bottom)
23
+
24
+ if pipeline.feed.type == .cctray {
25
+ CCTrayAuthView(useBasicAuth: $useBasicAuth, credential: $credential)
26
+ .padding(.bottom)
27
+ }
28
29
Form {
30
TextField("Name:", text: $name)
31
.accessibilityIdentifier("Name field")
0 commit comments