make sure deleting the last note is impossible

This commit is contained in:
tibbi 2016-10-02 12:36:50 +02:00
parent 2ea85dbb4a
commit a1ad71adcc

View File

@ -157,6 +157,8 @@ public class MainActivity extends SimpleActivity {
}
private void deleteNote() {
if (mNotes.size() <= 1)
return;
}