Skip to content

Commit

Permalink
Format case lets
Browse files Browse the repository at this point in the history
  • Loading branch information
mbernson committed Jan 26, 2025
1 parent 4916528 commit 592c29b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CCCTube/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ struct ContentView: View {
let api = ApiService.shared
do {
switch route {
case let .openTalk(id):
case .openTalk(let id):
let talk = try await api.talk(id: id)
self.talk = TalkToPlay(talk: talk, recordingToPlay: nil)
case let .playTalk(id):
case .playTalk(let id):
let talk = try await api.talk(id: id)
let recordings = try await api.recordings(for: talk)
let recording =
Expand Down
2 changes: 1 addition & 1 deletion CCCTube/Features/Talk/TalkView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ private struct CopyrightView: View {
switch viewModel.copyright {
case .loading:
ProgressView()
case let .copyright(string):
case .copyright(let string):
Text(string)
case .unknown:
if let link = talk.link {
Expand Down

0 comments on commit 592c29b

Please sign in to comment.