Skip to content

Commit 8faac3b

Browse files
committed
🚿 cleanup
1 parent 412f968 commit 8faac3b

1 file changed

Lines changed: 0 additions & 43 deletions

File tree

app/network/Main/Connect/ConnectActions/ConnectActions.swift

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ struct ConnectActions: View {
3434

3535
@EnvironmentObject var themeManager: ThemeManager
3636

37-
// for testing
38-
// @State var connectMode = "Auto"
39-
// @State private var selectedWindowType: WindowType = .auto
40-
// @State var fixedSize: Bool = false
41-
4237
var body: some View {
4338

4439
VStack {
@@ -73,23 +68,6 @@ struct ConnectActions: View {
7368
/**
7469
* sufficient balance
7570
*/
76-
77-
// /**
78-
// * connect window options
79-
// */
80-
// Picker(
81-
// "Connect Mode",
82-
// selection: $connectMode
83-
// ) {
84-
//// ForEach(ConnectMode.allCases, id: \.self) {
85-
//// Text($0.rawValue.capitalized)
86-
//// }
87-
// Text("Auto")
88-
// Text("Web")
89-
// Text("Streaming")
90-
// }.pickerStyle(.segmented)
91-
//
92-
// Spacer().frame(height: 12)
9371

9472
/**
9573
* Action buttons
@@ -222,27 +200,6 @@ struct ConnectActions: View {
222200
)
223201
}
224202

225-
// private func createPerformanceProfile(
226-
// windowType: WindowType,
227-
// isFixedSize: Bool
228-
// ) -> SdkPerformanceProfile? {
229-
// if windowType == .auto {
230-
// return nil
231-
// }
232-
//
233-
// let performanceProfile = SdkPerformanceProfile()
234-
// performanceProfile.windowType = windowType == .quality ? SdkWindowTypeQuality : SdkWindowTypeSpeed
235-
//
236-
// let windowSizeSettings = SdkWindowSizeSettings()
237-
// windowSizeSettings.windowSizeMin = isFixedSize ? 1 : 2
238-
// windowSizeSettings.windowSizeMax = isFixedSize ? 1 : 4
239-
//
240-
// performanceProfile.windowSize = windowSizeSettings
241-
//
242-
// return performanceProfile
243-
//
244-
// }
245-
246203
}
247204

248205
//#Preview {

0 commit comments

Comments
 (0)