d
This commit is contained in:
1 parent
50a94c4b85
commit
ab91e074d9
1 file changed
+1
-1
+1
-1
@@ -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))
|
||||
}
|
||||
Reference in new issue
Block a user