This commit is contained in:
Михаил Капелько
2023-12-26 12:28:22 +03:00
parent 50a94c4b85
commit ab91e074d9

View File

@@ -2,7 +2,7 @@
/// Пропускаем лишь значения от UI
///
/// - Returns: Значение без префиксов "a:"/"u:"
static func onlyAcceptUIText(_ s: String) -> String? {
func onlyAcceptUIText(_ s: String) -> String? {
guard s.hasPrefix("u:") else { return nil }
return String(s.dropFirst(2))
}