1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Desktop: Don't count completed to-dos in note counts when they are not shown (#2288)

* Desktop: don't count completed to-dos in note counts when they are not shown

* Desktop: review comments for commit 0383dcc

* Desktop: fix remaining lint issues with commit 1fe4685
This commit is contained in:
lightray22
2020-01-18 13:46:04 +00:00
committed by Laurent Cozic
parent 8a392e1c06
commit 960d7f84eb
4 changed files with 41 additions and 6 deletions

View File

@ -26,7 +26,8 @@ class FoldersScreenUtils {
}
if (Setting.value('showNoteCounts')) {
await Folder.addNoteCounts(folders);
await Folder.addNoteCounts(folders,
Setting.value('showCompletedTodos'));
}
return folders;