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

This commit is contained in:
lightray22
2020-01-10 18:15:04 -05:00
parent 0a13c988fa
commit 0383dcc865
4 changed files with 40 additions and 14 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;