Skip to content

Commit 2256119

Browse files
committed
Refactoring.
1 parent 8b286c2 commit 2256119

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomWhipSettingsView.swift

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,15 @@ struct StreamWizardCustomWhipSettingsView: View {
2121
var body: some View {
2222
Form {
2323
Section {
24-
TextField(String("whip://120.12.32.12:8889/mystream/whip"), text: $createStreamWizard.customWhipUrl)
25-
.textInputAutocapitalization(.never)
26-
.disableAutocorrection(true)
27-
.onChange(of: createStreamWizard.customWhipUrl) { _ in
28-
updateUrlError()
29-
}
24+
TextField(
25+
String("whip://120.12.32.12:8889/mystream/whip"),
26+
text: $createStreamWizard.customWhipUrl
27+
)
28+
.textInputAutocapitalization(.never)
29+
.disableAutocorrection(true)
30+
.onChange(of: createStreamWizard.customWhipUrl) { _ in
31+
updateUrlError()
32+
}
3033
} header: {
3134
Text("URL")
3235
} footer: {

Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupDirectSettingsView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ struct StreamWizardNetworkSetupDirectSettingsView: View {
8282
} footer: {
8383
VStack(alignment: .leading) {
8484
FormFieldError(error: ingestError)
85-
Text( "Copy from https://kick.com/dashboard/settings/stream (requires login)." )
85+
Text("Copy from https://kick.com/dashboard/settings/stream (requires login).")
8686
}
8787
}
8888
Section {
@@ -95,7 +95,7 @@ struct StreamWizardNetworkSetupDirectSettingsView: View {
9595
} header: {
9696
Text("Stream key")
9797
} footer: {
98-
Text( "Copy from https://kick.com/dashboard/settings/stream (requires login)." )
98+
Text("Copy from https://kick.com/dashboard/settings/stream (requires login).")
9999
}
100100
case .youTube:
101101
Section {

0 commit comments

Comments
 (0)