mirror of
https://github.com/FossifyOrg/Notes.git
synced 2026-09-17 00:13:33 -04:00
make sure deleting the last note is impossible
This commit is contained in:
1 parent
2ea85dbb4a
commit
a1ad71adcc
1 file changed
+2
@@ -157,6 +157,8 @@ public class MainActivity extends SimpleActivity {
|
||||
}
|
||||
|
||||
private void deleteNote() {
|
||||
if (mNotes.size() <= 1)
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user