Fixed name
This commit is contained in:
parent
614f76eb04
commit
e8fb95c850
|
@ -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://")
|
||||||
|
|
Loading…
Reference in New Issue