Skip to content

Commit 8476fa7

Browse files
committed
Merge branch 'release/3.17.0' of github.com:adaptyteam/AdaptySDK-iOS into release/3.17.0
2 parents 18d0871 + b111a28 commit 8476fa7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources.UIBuilder/UISchema/Entities/Schema.RichText.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ extension Schema.TextAttributes? {
5757

5858
extension Schema.Localizer {
5959
func urlIfPresent(_ value: String) -> String? {
60-
if let _ = URL(string: value) { return value }
60+
if let url = URL(string: value), url.scheme != nil { return value }
6161
guard let item = localization?.strings?[value] else {
6262
return nil
6363
}

0 commit comments

Comments
 (0)