Remove debug
This commit is contained in:
@ -78,7 +78,6 @@ public struct LibraryItemCard: View {
|
||||
if let highlights = item.highlights, highlights.count > 0 {
|
||||
let fmted = LocalText.pluralizedText(key: "number_of_highlights", count: highlights.count)
|
||||
if item.wordsCount > 0 {
|
||||
print(" - highlightsText: ", " • \(fmted)")
|
||||
return " • \(fmted)"
|
||||
}
|
||||
return fmted
|
||||
|
||||
@ -7,7 +7,6 @@ public enum LocalText {
|
||||
|
||||
public static func pluralizedText(key: String, count: Int) -> String {
|
||||
let format = NSLocalizedString(key, bundle: .module, comment: "")
|
||||
print("key", key, "format", format)
|
||||
return String.localizedStringWithFormat(format, count)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user