diff --git a/sources/Android/android-communications/library/src/sdk/java/com/polar/sdk/impl/BDBleApiImpl.kt b/sources/Android/android-communications/library/src/sdk/java/com/polar/sdk/impl/BDBleApiImpl.kt index 47bb4f37..970d0392 100644 --- a/sources/Android/android-communications/library/src/sdk/java/com/polar/sdk/impl/BDBleApiImpl.kt +++ b/sources/Android/android-communications/library/src/sdk/java/com/polar/sdk/impl/BDBleApiImpl.kt @@ -2109,17 +2109,17 @@ class BDBleApiImpl private constructor(context: Context, features: Set { var theDate: LocalDate = startDate var datesList = mutableListOf() - - while (startDate == endDate || endDate.isAfter(theDate)) { + + while (theDate == endDate || endDate.isAfter(theDate)) { datesList.add(theDate) theDate = theDate.plusDays(1) } return datesList - } override fun getActiveTime(identifier: String, fromDate: Date, toDate: Date): Single> {