adding a new ChecklistFragment and rename NoteFragment to TextFragment

This commit is contained in:
tibbi
2018-12-07 22:16:21 +01:00
parent 2d36835ebb
commit 22be4e4ac4
13 changed files with 370 additions and 317 deletions

View File

@ -33,7 +33,7 @@ const val FONT_SIZE_LARGE = 2
const val FONT_SIZE_EXTRA_LARGE = 3
// note types
const val TYPE_NOTE = 0
const val TYPE_TEXT = 0
const val TYPE_CHECKLIST = 1
// mime types

View File

@ -29,7 +29,7 @@ class NotesHelper(val activity: Activity) {
if (notes.isEmpty()) {
val generalNote = activity.resources.getString(R.string.general_note)
val note = Note(null, generalNote, "", TYPE_NOTE)
val note = Note(null, generalNote, "", TYPE_TEXT)
activity.notesDB.insertOrUpdate(note)
notes.add(note)
}