Run swift-format

This commit is contained in:
mbrandonw
2020-06-30 14:49:39 +00:00
committed by GitHub Actions
parent a905fbf5ec
commit b8c67d5d4f
12 changed files with 29 additions and 27 deletions

View File

@@ -80,9 +80,10 @@ let appReducer = Reducer<AppState, AppAction, AppEnvironment> { state, action, e
return .none
case .denied:
state.alert = .init(title: """
You denied access to speech recognition. This app needs access to transcribe your speech.
""")
state.alert = .init(
title: """
You denied access to speech recognition. This app needs access to transcribe your speech.
""")
return .none
case .restricted:

View File

@@ -28,8 +28,8 @@ class SpeechRecognitionTests: XCTestCase {
.receive(.speechRecognizerAuthorizationStatusResponse(.denied)) {
$0.alert = .init(
title: """
You denied access to speech recognition. This app needs access to transcribe your speech.
"""
You denied access to speech recognition. This app needs access to transcribe your speech.
"""
)
$0.isRecording = false
$0.speechRecognizerAuthorizationStatus = .denied