diff --git a/DuckDuckGo.xcodeproj/project.pbxproj b/DuckDuckGo.xcodeproj/project.pbxproj index 7a774a3585..bf939435bd 100644 --- a/DuckDuckGo.xcodeproj/project.pbxproj +++ b/DuckDuckGo.xcodeproj/project.pbxproj @@ -8878,7 +8878,7 @@ repositoryURL = "https://github.com/DuckDuckGo/BrowserServicesKit"; requirement = { kind = exactVersion; - version = 78.0.0; + version = 78.1.0; }; }; C14882EB27F211A000D59F0C /* XCRemoteSwiftPackageReference "SwiftSoup" */ = { diff --git a/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 239189c84a..0c17f67fdb 100644 --- a/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -15,8 +15,8 @@ "repositoryURL": "https://github.com/DuckDuckGo/BrowserServicesKit", "state": { "branch": null, - "revision": "2a3dc29c9f0a2d90465a75afe47083a78ecaafe8", - "version": "78.0.0" + "revision": "ffb111c6688d991ab6bda02f44b81f7d190e427e", + "version": "78.1.0" } }, { diff --git a/DuckDuckGo/FaviconsHelper.swift b/DuckDuckGo/FaviconsHelper.swift index 2d0fafe810..3244cb6f02 100644 --- a/DuckDuckGo/FaviconsHelper.swift +++ b/DuckDuckGo/FaviconsHelper.swift @@ -121,7 +121,7 @@ struct FaviconsHelper { label.textColor = UIColor.white label.textAlignment = .center - if let prefferedPrefix = preferredFakeFaviconLetters?.prefix(letterCount).capitalized { + if let prefferedPrefix = preferredFakeFaviconLetters?.droppingWwwPrefix().prefix(letterCount).capitalized { label.text = prefferedPrefix } else { label.text = String(tld.eTLDplus1(domain)?.prefix(letterCount) ?? "#").capitalized