Skip to content

Commit 3c043b9

Browse files
author
IdoZ
authored
MOBILE-6937-fix eta update for android wrapper (#34)
1 parent fe75bff commit 3c043b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/reactnativebringgdriversdk/BringgDriverSdkModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ class BringgDriverSdkModule(reactContext: ReactApplicationContext) : ReactContex
220220
return
221221
}
222222

223-
activeCustomerClient?.getActiveCustomerActions()?.updateWaypointEta(Date(), object : ResultCallback<UpdateOperationResult> {
223+
activeCustomerClient?.getActiveCustomerActions()?.updateWaypointEta(date, object : ResultCallback<UpdateOperationResult> {
224224
override fun onResult(result: UpdateOperationResult) {
225225
if (result.isSuccessful)
226226
promise.resolve()

0 commit comments

Comments
 (0)