mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-24 04:03:03 -04:00
Increase the value of 'NEW' to 3 months
This commit is contained in:
parent
34d61f0bae
commit
5cb5e53aa7
@ -99,7 +99,7 @@ struct ZimFilesNew: View {
|
||||
NSPredicate(format: "languageCode IN %@", Defaults[.libraryLanguageCodes]),
|
||||
NSPredicate(format: "requiresServiceWorkers == false")
|
||||
]
|
||||
if let aMonthAgo = Calendar.current.date(byAdding: .month, value: -1, to: Date()) {
|
||||
if let aMonthAgo = Calendar.current.date(byAdding: .month, value: -3, to: Date()) {
|
||||
predicates.append(NSPredicate(format: "created > %@", aMonthAgo as CVarArg))
|
||||
}
|
||||
if !searchText.isEmpty {
|
||||
|
Loading…
x
Reference in New Issue
Block a user