Various fixes

This commit is contained in:
Ilya Laktyushin
2024-07-26 13:43:42 +02:00
parent 07c774eea7
commit b7d572e035
7 changed files with 122 additions and 28 deletions

View File

@@ -186,6 +186,7 @@ final class BrowserAddressListItemComponent: Component {
}
address = address.replacingOccurrences(of: "https://www.", with: "")
address = address.replacingOccurrences(of: "https://", with: "")
address = address.replacingOccurrences(of: "tonsite://", with: "")
address = address.trimmingCharacters(in: CharacterSet(charactersIn: "/"))
subtitle = address