mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-01-19 09:09:47 +01:00
make sure deleting the last note is impossible
This commit is contained in:
parent
2ea85dbb4a
commit
a1ad71adcc
@ -157,6 +157,8 @@ public class MainActivity extends SimpleActivity {
|
||||
}
|
||||
|
||||
private void deleteNote() {
|
||||
if (mNotes.size() <= 1)
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user