mirror of
https://github.com/whoeevee/EeveeSpotifyReborn.git
synced 2026-01-09 00:23:20 +01:00
removed prefix(30) and version property
This commit is contained in:
@@ -8,7 +8,7 @@ struct LrcLibLyricsDataSource {
|
||||
init() {
|
||||
let configuration = URLSessionConfiguration.default
|
||||
configuration.httpAdditionalHeaders = [
|
||||
"User-Agent": "EeveeSpotify v3.0 https://github.com/whoeevee/EeveeSpotify"
|
||||
"User-Agent": "EeveeSpotify v\(EeveeSpotify.version) https://github.com/whoeevee/EeveeSpotify"
|
||||
]
|
||||
|
||||
session = URLSession(configuration: configuration)
|
||||
|
||||
@@ -15,7 +15,6 @@ extension String {
|
||||
self
|
||||
.removeMatches("\\(.*\\)")
|
||||
.removeMatches("- .*")
|
||||
.prefix(30)
|
||||
.trimmingCharacters(in: .whitespaces)
|
||||
)
|
||||
}
|
||||
|
||||
@@ -23,6 +23,8 @@ class URLHook: ClassHook<NSURL> {
|
||||
|
||||
struct EeveeSpotify: Tweak {
|
||||
|
||||
static let version = "3.1"
|
||||
|
||||
init() {
|
||||
|
||||
do {
|
||||
|
||||
Reference in New Issue
Block a user