Prefix server description with category
This commit is contained in:
parent
e0efd54cfd
commit
592b0801e2
|
@ -98,7 +98,11 @@ extension ProviderServer {
|
|||
localizedShortDescription.map {
|
||||
comps.append($0)
|
||||
}
|
||||
return comps.joined(separator: ", ")
|
||||
let desc = comps.joined(separator: ", ")
|
||||
guard !categoryName.isEmpty else {
|
||||
return desc
|
||||
}
|
||||
return "\(categoryName.uppercased()): \(desc)"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue