We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aa6bd0 commit 80378cdCopy full SHA for 80378cd
app/src/main/kotlin/com/simplemobiletools/notes/fragments/NoteFragment.kt
@@ -87,7 +87,7 @@ class NoteFragment : Fragment() {
87
}
88
89
90
- fun getCurrentNoteViewText() = view.notes_view.text.toString()
+ fun getCurrentNoteViewText() = view.notes_view?.text.toString()
91
92
private fun getTextGravity() = when (context.config.gravity) {
93
GRAVITY_CENTER -> Gravity.CENTER_HORIZONTAL
0 commit comments