Skip to content

Commit

Permalink
♻️#297: Share Extension의 유튜브 뮤직에서 아티스트명 다른 데이터로 대체
Browse files Browse the repository at this point in the history
- 기존 데이터는 뒤에 "- TOPIC' 접미어가 붙어 검색 정확도가 떨어졌음
  • Loading branch information
joseph704 committed Aug 20, 2024
1 parent dbf363e commit 01b8888
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions StreetDrop/ShareExtension/View/ShareViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,8 @@ private extension ShareViewController {
let items = json["items"] as? [[String: Any]],
let snippet = items.first?["snippet"] as? [String: Any] {
let title = snippet["title"] as? String
let channelTitle = snippet["channelTitle"] as? String
completion(title, channelTitle)
let tags = snippet["tags"] as? [String]
completion(title, tags?.first ?? "")
} else {
completion(nil, nil)
}
Expand Down

0 comments on commit 01b8888

Please sign in to comment.