From 0faaf71589ca41ca75716fe72da85e848476b621 Mon Sep 17 00:00:00 2001 From: theSoenke Date: Sun, 26 Jul 2015 21:56:20 +0200 Subject: [PATCH] New notes can be created with empty content --- .../java/rocks/paperwork/android/activities/NoteActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/rocks/paperwork/android/activities/NoteActivity.java b/app/src/main/java/rocks/paperwork/android/activities/NoteActivity.java index 4fd1c5d..b45a2e1 100644 --- a/app/src/main/java/rocks/paperwork/android/activities/NoteActivity.java +++ b/app/src/main/java/rocks/paperwork/android/activities/NoteActivity.java @@ -231,7 +231,7 @@ private boolean changesToSave() if (mNote == null) // note does not exist yet { - if (!content.isEmpty() || title.isEmpty()) + if (!content.isEmpty() || !title.isEmpty()) { return true; }