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
|
-
//
|
|
262
|
-
|
|
263
|
-
calendarViewController.scrollTo(hour24: Float(hour))
|
|
261
|
+
// Use the correct method from DayViewController
|
|
262
|
+
calendarViewController.dayView.scrollToFirstEventIfNeeded()
|
|
264
263
|
}
|
|
265
264
|
}
|