mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
creating a widgets table for holding individual widget info
This commit is contained in:
@ -48,7 +48,7 @@ class NoteFragment : Fragment() {
|
||||
view = inflater.inflate(R.layout.fragment_note, container, false) as ViewGroup
|
||||
noteId = arguments!!.getInt(NOTE_ID)
|
||||
db = context!!.dbHelper
|
||||
note = db.getNote(noteId) ?: return view
|
||||
note = db.getNoteWithId(noteId) ?: return view
|
||||
retainInstance = true
|
||||
|
||||
val layoutToInflate = if (context!!.config.enableLineWrap) R.layout.note_view_static else R.layout.note_view_horiz_scrollable
|
||||
|
Reference in New Issue
Block a user