From ab91e074d9c2edb2f6c0a7d7d52ddd9feda1f542 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9A=D0=B0=D0=BF?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BA=D0=BE?= Date: Tue, 26 Dec 2023 12:28:22 +0300 Subject: [PATCH] d --- src/Aux.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Aux.swift b/src/Aux.swift index 96c19bf..94743b5 100644 --- a/src/Aux.swift +++ b/src/Aux.swift @@ -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)) }