expo-calendar-kit 2.1.8 → 2.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -258,8 +258,7 @@ public class ExpoCalendarKitView: UIView {
258
258
 
259
259
  public func scrollToCurrentTime() {
260
260
  print("🔥 scrollToCurrentTime called")
261
- // Scroll to current time - method name was wrong
262
- let hour = Calendar.current.component(.hour, from: Date())
263
- calendarViewController.scrollTo(hour24: Float(hour))
261
+ // Use the correct method from DayViewController
262
+ calendarViewController.dayView.scrollToFirstEventIfNeeded()
264
263
  }
265
264
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-calendar-kit",
3
- "version": "2.1.8",
3
+ "version": "2.1.9",
4
4
  "description": "Expo module wrapping the native Swift CalendarKit library for React Native apps",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",