mirror of
https://github.com/pointfreeco/swift-composable-architecture.git
synced 2025-12-24 12:14:25 +01:00
Run swift-format
This commit is contained in:
committed by
GitHub Actions
parent
a905fbf5ec
commit
b8c67d5d4f
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user