Skip to content

Commit c3e262c

Browse files
Benjamin RustenBenjamin Rusten
authored andcommitted
fix: updating upload event name
1 parent 10322ab commit c3e262c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/uk/co/playerdata/reactnativemcumanager/ReactNativeMcuManagerModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ private const val MODULE_NAME = "ReactNativeMcuManager"
1818
private val TAG = "McuManagerModule"
1919

2020
private const val UPGRADE_STATE_EVENTS = "upgradeStateChanged"
21-
private const val UPLOAD_PROGRESS_EVENTS = "uploadProgressChanged"
21+
private const val UPLOAD_PROGRESS_EVENTS = "uploadProgress"
2222

2323
class UpdateOptions : Record {
2424
@Field val estimatedSwapTime: Int = 0

0 commit comments

Comments
 (0)