Fixed display of todos

pull/41/head
Laurent Cozic 2017-07-24 21:14:25 +01:00
parent 3e1decdfa6
commit cfa3c6f4bb
2 changed files with 3 additions and 3 deletions

View File

@ -90,8 +90,8 @@ android {
applicationId "net.cozic.joplin"
minSdkVersion 16
targetSdkVersion 22
versionCode 29
versionName "0.9.16"
versionCode 31
versionName "0.9.18"
ndk {
abiFilters "armeabi-v7a", "x86"
}

View File

@ -46,7 +46,7 @@ class ItemListComponent extends Component {
for (let i = 0; i < notes.length; i++) {
const note = notes[i];
if (note.is_todo) {
if (todoFilter == 'recent' && note.updated_time < notRecentTime) continue;
if (todoFilter == 'recent' && note.updated_time < notRecentTime && !!note.todo_completed) continue;
if (todoFilter == 'nonCompleted' && !!note.todo_completed) continue;
}
output.push(note);