Convert SBMetadataResult to Swift.
This commit is contained in:
1 parent
aa20d18ded
commit
422e1c9853
28 files changed
+855
-1143
No files matched your search
@@ -129,7 +129,7 @@ final public class TheTVDBService {
|
||||
|
||||
public var languages: [String] {
|
||||
get {
|
||||
if let result = savedLanguages, result.data.count > 0 {
|
||||
if let result = savedLanguages, result.data.isEmpty == false {
|
||||
return result.data
|
||||
}
|
||||
else if let result = fetchLanguages() {
|
||||
|
||||
Reference in new issue
Block a user