From cfa3c6f4bbf5c544d05d071894e9fda0e74d059a Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Mon, 24 Jul 2017 21:14:25 +0100 Subject: [PATCH] Fixed display of todos --- ReactNativeClient/android/app/build.gradle | 4 ++-- ReactNativeClient/lib/components/item-list.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ReactNativeClient/android/app/build.gradle b/ReactNativeClient/android/app/build.gradle index 6caac7ec75..d63fda8e60 100644 --- a/ReactNativeClient/android/app/build.gradle +++ b/ReactNativeClient/android/app/build.gradle @@ -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" } diff --git a/ReactNativeClient/lib/components/item-list.js b/ReactNativeClient/lib/components/item-list.js index ddf72501dc..f4018dcb02 100644 --- a/ReactNativeClient/lib/components/item-list.js +++ b/ReactNativeClient/lib/components/item-list.js @@ -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);