Add new user search

This commit is contained in:
Christian Pauly 2020-01-19 16:37:37 +01:00
commit 7c81657a9b
2 changed files with 124 additions and 16 deletions

View file

@ -214,11 +214,8 @@ extension LocalizedBody on Event {
// Hide quotes
if (hideQuotes) {
print("+++ Hide quites +++");
List<String> lines = localizedBody.split("\n");
print("Lines with quotes: ${lines.length}");
lines.removeWhere((s) => s.startsWith("> "));
print("Lines without quotes: ${lines.length}");
localizedBody = lines.join("\n");
}