Commit 9396d5fc authored by wanglei's avatar wanglei

...

parent 688c64c5
...@@ -127,7 +127,7 @@ class MainPresenter( ...@@ -127,7 +127,7 @@ class MainPresenter(
RECENT_DATA_TYPE -> { RECENT_DATA_TYPE -> {
wordDocuments.forEach { recentFilter(recentList, it) } wordDocuments.forEach { recentFilter(recentList, it) }
return wordDocuments.sortedByDescending { it.lastViewTime } return wordDocuments.filter { it.lastViewTime != 0L }.sortedByDescending { it.lastViewTime }
} }
BOOKMARK_DATA_TYPE -> { BOOKMARK_DATA_TYPE -> {
...@@ -149,7 +149,7 @@ class MainPresenter( ...@@ -149,7 +149,7 @@ class MainPresenter(
RECENT_DATA_TYPE -> { RECENT_DATA_TYPE -> {
excelDocuments.forEach { recentFilter(recentList, it) } excelDocuments.forEach { recentFilter(recentList, it) }
return excelDocuments.sortedByDescending { it.lastViewTime } return excelDocuments.filter { it.lastViewTime != 0L }.sortedByDescending { it.lastViewTime }
} }
BOOKMARK_DATA_TYPE -> { BOOKMARK_DATA_TYPE -> {
...@@ -170,7 +170,7 @@ class MainPresenter( ...@@ -170,7 +170,7 @@ class MainPresenter(
RECENT_DATA_TYPE -> { RECENT_DATA_TYPE -> {
pptDocuments.forEach { recentFilter(recentList, it) } pptDocuments.forEach { recentFilter(recentList, it) }
return pptDocuments.sortedByDescending { it.lastViewTime } return pptDocuments.filter { it.lastViewTime != 0L }.sortedByDescending { it.lastViewTime }
} }
BOOKMARK_DATA_TYPE -> { BOOKMARK_DATA_TYPE -> {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment