We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d78d27f commit 8081ff4Copy full SHA for 8081ff4
app/src/main/java/com/orgzly/android/ui/notes/NoteContent.kt
@@ -20,7 +20,7 @@ sealed class NoteContent {
20
21
companion object {
22
23
- private fun lineIsTable(raw: String) = raw.length > 0 && raw.get(0) == '|'
+ private fun lineIsTable(raw: String) = raw.isNotEmpty() && raw[0] == '|'
24
25
/**
26
* Converts the provided raw string (with embedded newlines) into a list of sections of
0 commit comments