This commit is contained in:
Arkadiusz Fal
2022-05-20 21:53:17 +02:00
parent d409a4ca48
commit 7e7aca08a0
7 changed files with 14 additions and 14 deletions

View File

@@ -13,7 +13,7 @@ final class SponsorBlockAPI: ObservableObject {
@Published var segments = [Segment]()
static func categoryDescription(_ name: String) -> String? {
guard SponsorBlockAPI.categories.contains(name) else {
guard Self.categories.contains(name) else {
return nil
}
@@ -30,7 +30,7 @@ final class SponsorBlockAPI: ObservableObject {
}
static func categoryDetails(_ name: String) -> String? {
guard SponsorBlockAPI.categories.contains(name) else {
guard Self.categories.contains(name) else {
return nil
}