mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
remove the max 10 events limit
This commit is contained in:
@ -37,7 +37,6 @@ class FetchGoogleEventsTask(val activity: Activity, credential: GoogleAccountCre
|
|||||||
private fun getDataFromApi(): List<Event> {
|
private fun getDataFromApi(): List<Event> {
|
||||||
val now = DateTime(System.currentTimeMillis() - getMonthMillis())
|
val now = DateTime(System.currentTimeMillis() - getMonthMillis())
|
||||||
val events = service.events().list("primary")
|
val events = service.events().list("primary")
|
||||||
.setMaxResults(10)
|
|
||||||
.setTimeMin(now)
|
.setTimeMin(now)
|
||||||
.setOrderBy("startTime")
|
.setOrderBy("startTime")
|
||||||
.setSingleEvents(true)
|
.setSingleEvents(true)
|
||||||
|
Reference in New Issue
Block a user