mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
adding a new ChecklistFragment and rename NoteFragment to TextFragment
This commit is contained in:
@ -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
|
||||
|
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user