Skip to content

Commit 4b2e01c

Browse files
committed
formatting
1 parent 0427e11 commit 4b2e01c

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

firebaseai/FirebaseAIExample/Features/Live/Views/ConnectButton.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,13 @@ struct ConnectButtonStyle: ButtonStyle {
7878
switch state {
7979
case .connected: [Color(.systemRed)]
8080
case .connecting: [.secondary, .white]
81-
case .idle: [Color(.systemRed), Color(.systemBlue), Color(.systemGreen), Color(.systemYellow), Color(.systemRed)]
81+
case .idle: [
82+
Color(.systemRed),
83+
Color(.systemBlue),
84+
Color(.systemGreen),
85+
Color(.systemYellow),
86+
Color(.systemRed),
87+
]
8288
}
8389
}
8490

firebaseai/FirebaseAIExample/Shared/Audio/AudioController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@ actor AudioController {
225225
do {
226226
try await spawnAudioProcessingThread()
227227
} catch {
228-
await logger.error("Failed to spawn audio processing thread: \(String(describing: error))")
228+
await logger
229+
.error("Failed to spawn audio processing thread: \(String(describing: error))")
229230
}
230231
}
231232
default: ()

0 commit comments

Comments
 (0)