mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-05-25 19:34:14 +02:00
create the new note when appropriate
This commit is contained in:
parent
eebab76151
commit
307e2a4eb1
@ -104,6 +104,7 @@ public class MainActivity extends SimpleActivity {
|
||||
} else if (mDb.doesTitleExist(title)) {
|
||||
Utils.showToast(getApplicationContext(), R.string.title_taken);
|
||||
} else {
|
||||
mDb.insertNote(new Note(0, title, ""));
|
||||
alertDialog.dismiss();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user