mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-03-18 04:10:15 +01:00
change the default search interval to +- 2 years
This commit is contained in:
parent
bd8b772e6f
commit
38e49a8e38
@ -70,7 +70,7 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:edb874aa8f'
|
||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:ef4829a3dc'
|
||||
implementation 'androidx.multidex:multidex:2.0.1'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
||||
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
||||
|
@ -1213,8 +1213,8 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
|
||||
search_placeholder_2.beVisibleIf(text.length == 1)
|
||||
if (text.length >= 2) {
|
||||
if (search_results_list.adapter == null) {
|
||||
minFetchedSearchTS = DateTime().minusYears(1).seconds()
|
||||
maxFetchedSearchTS = DateTime().plusYears(1).seconds()
|
||||
minFetchedSearchTS = DateTime().minusYears(2).seconds()
|
||||
maxFetchedSearchTS = DateTime().plusYears(2).seconds()
|
||||
}
|
||||
|
||||
eventsHelper.getEvents(minFetchedSearchTS, maxFetchedSearchTS, searchQuery = text) { events ->
|
||||
|
Loading…
x
Reference in New Issue
Block a user