Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62487ade authored by Elias's avatar Elias Committed by Niedermann IT-Dienstleistungen
Browse files

fix one line note content preview

parent a3f15722
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -100,11 +100,7 @@ public class NoteUtil {
                content = content.substring(trimmedTitle.length());
            }
        }
        if (content.contains("\n")) {
        return truncateString(content.trim(), 200).replace("\n", EXCERPT_LINE_SEPARATOR);
        } else {
            return "";
        }
    }

    @NonNull