Fixed name

This commit is contained in:
Tomás Martins 2021-09-25 12:07:54 -03:00 committed by Tomás Martins
parent 614f76eb04
commit e8fb95c850
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ import Foundation
extension ItemInfo { extension ItemInfo {
/// The skin's image URL /// The skin's image URL
@objc public var imageUrl: String? { @objc public var imageURL: String? {
guard let url = self.httpImageUrl else { return nil } guard let url = self.httpImageUrl else { return nil }
guard url.hasPrefix("http://") else { return httpImageUrl } guard url.hasPrefix("http://") else { return httpImageUrl }
return url.replacingOccurrences(of: "http://", with: "https://") return url.replacingOccurrences(of: "http://", with: "https://")