remove the max 10 events limit
This commit is contained in:
parent
eba27b2541
commit
2ab9ad73bd
|
@ -37,7 +37,6 @@ class FetchGoogleEventsTask(val activity: Activity, credential: GoogleAccountCre
|
|||
private fun getDataFromApi(): List<Event> {
|
||||
val now = DateTime(System.currentTimeMillis() - getMonthMillis())
|
||||
val events = service.events().list("primary")
|
||||
.setMaxResults(10)
|
||||
.setTimeMin(now)
|
||||
.setOrderBy("startTime")
|
||||
.setSingleEvents(true)
|
||||
|
|
Loading…
Reference in New Issue