mirror of
https://github.com/FossifyOrg/Notes.git
synced 2026-03-07 16:07:29 -05:00
create the new note when appropriate
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user