~notes-app-dev/reminders-app/trunk

« back to all changes in this revision

Viewing changes to src/app/qml/ui/RemindersPage.qml

  • Committer: Tarmac
  • Author(s): Michael Zanetti
  • Date: 2014-11-11 15:56:54 UTC
  • mfrom: (291.7.14 reminders-app-caching)
  • Revision ID: tarmac-20141111155654-n5wgbjb99gymnkvk
implement full note caching

note content and resources are now cached. also adds some improvements in regard to refreshing the ui. Fixes: https://bugs.launchpad.net/bugs/1390591.

Approved by Ubuntu Phone Apps Jenkins Bot, David Planella.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
                width: remindersListView.width
69
69
                note: notes.note(guid)
70
70
 
71
 
                Component.onCompleted: {
72
 
                    if (!model.plaintextContent) {
73
 
                        NotesStore.refreshNoteContent(model.guid)
74
 
                    }
75
 
                }
76
 
 
77
71
                onClicked: {
78
72
                    root.selectedNote = NotesStore.note(guid);
79
73
                }