Skip to content

Commit

Permalink
Merge pull request #21 from omit2c/main
Browse files Browse the repository at this point in the history
Fixed AppStore link crash
  • Loading branch information
hiddevdploeg authored Jul 26, 2023
2 parents e348f75 + 5fc7f15 commit e6e9d17
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/Billboard/Models/BillboardAd.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ public struct BillboardAd : Codable, Identifiable, Equatable {

/// App Store Link based on `appStoreID`
public var appStoreLink : URL {
let appName = self.name.trimmingCharacters(in: .whitespacesAndNewlines).lowercased()
return URL(string: "https://apps.apple.com/us/app/\(appName)/id\(appStoreID)")!
return URL(string: "https://apps.apple.com/app/id\(appStoreID)")!
}

/// Main Background color in HEX format
Expand Down

0 comments on commit e6e9d17

Please sign in to comment.